diff --git a/panda/src/egg2pg/eggSaver.cxx b/panda/src/egg2pg/eggSaver.cxx index 2ed7fe27d8..f4ad7beed6 100755 --- a/panda/src/egg2pg/eggSaver.cxx +++ b/panda/src/egg2pg/eggSaver.cxx @@ -33,6 +33,7 @@ #include "collisionPolygon.h" #include "collisionPlane.h" #include "collisionSphere.h" +#include "collisionBox.h" #include "collisionInvSphere.h" #include "collisionTube.h" #include "textureStage.h" @@ -466,6 +467,8 @@ convert_collision_node(CollisionNode *node, const WorkingNodePath &node_path, nout << "Encountered unhandled collsion type: CollisionPlane" << "\n"; } else if (child->is_of_type(CollisionSphere::get_class_type())) { nout << "Encountered unhandled collsion type: CollisionSphere" << "\n"; + } else if (child->is_of_type(CollisionBox::get_class_type())) { + nout << "Encountered unhandled collsion type: CollisionBox" << "\n"; } else if (child->is_of_type(CollisionInvSphere::get_class_type())) { nout << "Encountered unhandled collsion type: CollisionInvSphere" << "\n"; } else if (child->is_of_type(CollisionTube::get_class_type())) {