summaryrefslogtreecommitdiff
path: root/src/csgops.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/csgops.cc
parent31a97f34e1122690cbad2c9bf01f3ede6d3da135 (diff)
parent6bb261bcd5922c69770c27d25f43c7c315c101a4 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/csgops.cc')
-rw-r--r--src/csgops.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/csgops.cc b/src/csgops.cc
index 7b363f0..7524559 100644
--- a/src/csgops.cc
+++ b/src/csgops.cc
@@ -72,8 +72,8 @@ std::string CsgNode::name() const
void register_builtin_csgops()
{
- builtin_modules["union"] = new CsgModule(CSG_TYPE_UNION);
- builtin_modules["difference"] = new CsgModule(CSG_TYPE_DIFFERENCE);
- builtin_modules["intersection"] = new CsgModule(CSG_TYPE_INTERSECTION);
+ Builtins::init("union", new CsgModule(CSG_TYPE_UNION));
+ Builtins::init("difference", new CsgModule(CSG_TYPE_DIFFERENCE));
+ Builtins::init("intersection", new CsgModule(CSG_TYPE_INTERSECTION));
}
contact: Jan Huwald // Impressum