We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a86ca9 commit e8d8f20Copy full SHA for e8d8f20
panda/src/collide/collisionHandlerPusher.cxx
@@ -173,8 +173,8 @@ handle_entries() {
173
const CollisionSolid *s2 = sd2._entry->get_into();
174
if (s1 != nullptr &&
175
s2 != nullptr &&
176
- s1->is_exact_type(CollisionPolygon::get_class_type()) &&
177
- s2->is_exact_type(CollisionPolygon::get_class_type()) &&
+ s1->is_of_type(CollisionPolygon::get_class_type()) &&
+ s2->is_of_type(CollisionPolygon::get_class_type()) &&
178
sd._entry->get_into_node_path() ==
179
sd2._entry->get_into_node_path()) {
180
const CollisionPolygon *p1 = DCAST(CollisionPolygon, s1);
0 commit comments