mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
added more descriptive warning message when encountering a CollisionTube
This commit is contained in:
parent
f62f19c3d4
commit
e3bffa43aa
@ -34,6 +34,7 @@
|
||||
#include "collisionPlane.h"
|
||||
#include "collisionSphere.h"
|
||||
#include "collisionInvSphere.h"
|
||||
#include "collisionTube.h"
|
||||
#include "textureStage.h"
|
||||
#include "geomNode.h"
|
||||
#include "geom.h"
|
||||
@ -341,6 +342,8 @@ convert_collision_node(CollisionNode *node, const WorkingNodePath &node_path,
|
||||
nout << "Encountered unhandled collsion type: CollisionSphere" << "\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())) {
|
||||
nout << "Encountered unhandled collsion type: CollisionTube" << "\n";
|
||||
} else {
|
||||
nout << "Encountered unknown CollisionSolid" << "\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user