summaryrefslogtreecommitdiff
path: root/src/rotateextrude.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2011-11-06 18:19:09 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2011-11-06 18:19:09 (GMT)
commit8baead275affe384e2344bbbff78b046c08c8812 (patch)
tree63d741c40631a6c6f1b42a598a672a19844f9f72 /src/rotateextrude.cc
parent31a97f34e1122690cbad2c9bf01f3ede6d3da135 (diff)
parent6bb261bcd5922c69770c27d25f43c7c315c101a4 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/rotateextrude.cc')
-rw-r--r--src/rotateextrude.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rotateextrude.cc b/src/rotateextrude.cc
index 13e5db0..ae8793d 100644
--- a/src/rotateextrude.cc
+++ b/src/rotateextrude.cc
@@ -92,12 +92,6 @@ AbstractNode *RotateExtrudeModule::evaluate(const Context *ctx, const ModuleInst
return node;
}
-void register_builtin_dxf_rotate_extrude()
-{
- builtin_modules["dxf_rotate_extrude"] = new RotateExtrudeModule();
- builtin_modules["rotate_extrude"] = new RotateExtrudeModule();
-}
-
PolySet *RotateExtrudeNode::evaluate_polyset(PolySetEvaluator *evaluator) const
{
if (!evaluator) {
@@ -133,3 +127,9 @@ std::string RotateExtrudeNode::toString() const
return stream.str();
}
+
+void register_builtin_dxf_rotate_extrude()
+{
+ Builtins::init("dxf_rotate_extrude", new RotateExtrudeModule());
+ Builtins::init("rotate_extrude", new RotateExtrudeModule());
+}
contact: Jan Huwald // Impressum