summaryrefslogtreecommitdiffstats
path: root/src/box3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/box3d.cpp')
-rw-r--r--src/box3d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/box3d.cpp b/src/box3d.cpp
index a7e6b0538..f44f1bde3 100644
--- a/src/box3d.cpp
+++ b/src/box3d.cpp
@@ -60,6 +60,7 @@ static void
box3d_init(SPBox3D *box)
{
box->cbox3d = new CBox3D(box);
+ box->typeHierarchy.insert(typeid(SPBox3D));
delete box->cgroup;
box->cgroup = box->cbox3d;