mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
collide: Release GIL while during CollisionTraverser traversal
This is necessary to prevent deadlocking on the GIL if some Python code is trying to write some geometry while the CollisionTraverser is trying to read it. Fixes #1033
This commit is contained in:
parent
92a0279bc5
commit
8c3fd5b406
@ -64,7 +64,7 @@ PUBLISHED:
|
||||
void clear_colliders();
|
||||
MAKE_SEQ_PROPERTY(colliders, get_num_colliders, get_collider);
|
||||
|
||||
void traverse(const NodePath &root);
|
||||
BLOCKING void traverse(const NodePath &root);
|
||||
|
||||
#if defined(DO_COLLISION_RECORDING) || !defined(CPPPARSER)
|
||||
void set_recorder(CollisionRecorder *recorder);
|
||||
|
Loading…
x
Reference in New Issue
Block a user