summaryrefslogtreecommitdiff
path: root/src/dxfrotextrude.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-07-30 23:58:51 (GMT)
committerMarius Kintel <marius@kintel.net>2011-07-30 23:58:51 (GMT)
commit6882228058d313bb7b98fddd90239bdb1a3e25ef (patch)
tree9e3f0077a319939df7496fc6b18350c44cc4b0ec /src/dxfrotextrude.cc
parentdd9dfcb4ece4dcd1ae7f3374ef03a4babdb91dd8 (diff)
parentc79ad5010e4ae8a612de5423cd52a518ed6b4d65 (diff)
Merge branch 'master' into visitor
Conflicts: src/GLView.h src/glview.cc src/mainwin.cc src/render-opencsg.cc
Diffstat (limited to 'src/dxfrotextrude.cc')
-rw-r--r--src/dxfrotextrude.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dxfrotextrude.cc b/src/dxfrotextrude.cc
index 06892aa..ec75a52 100644
--- a/src/dxfrotextrude.cc
+++ b/src/dxfrotextrude.cc
@@ -33,7 +33,7 @@
#include "dxfdata.h"
#include "progress.h"
#include "visitor.h"
-#include "PolySetRenderer.h"
+#include "PolySetEvaluator.h"
#include "openscad.h" // get_fragments_from_r()
#include <sstream>
@@ -102,11 +102,11 @@ void register_builtin_dxf_rotate_extrude()
builtin_modules["rotate_extrude"] = new DxfRotateExtrudeModule();
}
-PolySet *DxfRotateExtrudeNode::render_polyset(render_mode_e mode,
- PolySetRenderer *renderer) const
+PolySet *DxfRotateExtrudeNode::evaluate_polyset(render_mode_e mode,
+ PolySetEvaluator *evaluator) const
{
- if (!renderer) {
- PRINTF("WARNING: No suitable PolySetRenderer found for %s module!", this->name().c_str());
+ if (!evaluator) {
+ PRINTF("WARNING: No suitable PolySetEvaluator found for %s module!", this->name().c_str());
PolySet *ps = new PolySet();
ps->is2d = true;
return ps;
@@ -114,7 +114,7 @@ PolySet *DxfRotateExtrudeNode::render_polyset(render_mode_e mode,
print_messages_push();
- PolySet *ps = renderer->renderPolySet(*this, mode);
+ PolySet *ps = evaluator->evaluatePolySet(*this, mode);
print_messages_pop();
contact: Jan Huwald // Impressum