mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
Add warning for unsupported collision solid 'box' when saving to egg file (same as for 'sphere' etc.)
This commit is contained in:
parent
a6bdde5f26
commit
0dd50f1d5a
@ -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())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user