diff options
author | don bright <hugh.m.bright@gmail.com> | 2011-11-06 18:19:09 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2011-11-06 18:19:09 (GMT) |
commit | 8baead275affe384e2344bbbff78b046c08c8812 (patch) | |
tree | 63d741c40631a6c6f1b42a598a672a19844f9f72 /src/csgops.cc | |
parent | 31a97f34e1122690cbad2c9bf01f3ede6d3da135 (diff) | |
parent | 6bb261bcd5922c69770c27d25f43c7c315c101a4 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/csgops.cc')
-rw-r--r-- | src/csgops.cc | 6 |
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)); } |