Skip to content

Commit 9a7e103

Browse files
committed
collide: restore missing CollisionTraverser.showCollisions()
This was an accidental regression in e48a40a which unexposed CollisionVisualizer and therefore caused this method to no longer be wrapped by Interrogate.
1 parent 6d96028 commit 9a7e103

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

panda/src/collide/collisionTraverser.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ set_recorder(CollisionRecorder *recorder) {
399399
* should be any node in the scene graph; typically, the top node (e.g.
400400
* render). The CollisionVisualizer will be attached to this node.
401401
*/
402-
CollisionVisualizer *CollisionTraverser::
402+
PandaNode *CollisionTraverser::
403403
show_collisions(const NodePath &root) {
404404
#ifdef DO_COLLISION_RECORDING
405405
hide_collisions();

panda/src/collide/collisionTraverser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class EXPCL_PANDA_COLLIDE CollisionTraverser : public Namable {
7272
MAKE_PROPERTY2(recorder, has_recorder, get_recorder,
7373
set_recorder, clear_recorder);
7474

75-
CollisionVisualizer *show_collisions(const NodePath &root);
75+
PandaNode *show_collisions(const NodePath &root);
7676
void hide_collisions();
7777
#endif // DO_COLLISION_RECORDING
7878

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy