mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -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 "collisionPlane.h"
|
||||||
#include "collisionSphere.h"
|
#include "collisionSphere.h"
|
||||||
#include "collisionInvSphere.h"
|
#include "collisionInvSphere.h"
|
||||||
|
#include "collisionTube.h"
|
||||||
#include "textureStage.h"
|
#include "textureStage.h"
|
||||||
#include "geomNode.h"
|
#include "geomNode.h"
|
||||||
#include "geom.h"
|
#include "geom.h"
|
||||||
@ -341,6 +342,8 @@ convert_collision_node(CollisionNode *node, const WorkingNodePath &node_path,
|
|||||||
nout << "Encountered unhandled collsion type: CollisionSphere" << "\n";
|
nout << "Encountered unhandled collsion type: CollisionSphere" << "\n";
|
||||||
} else if (child->is_of_type(CollisionInvSphere::get_class_type())) {
|
} else if (child->is_of_type(CollisionInvSphere::get_class_type())) {
|
||||||
nout << "Encountered unhandled collsion type: CollisionInvSphere" << "\n";
|
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 {
|
} else {
|
||||||
nout << "Encountered unknown CollisionSolid" << "\n";
|
nout << "Encountered unknown CollisionSolid" << "\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user