mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
replace deprecated usage
This commit is contained in:
parent
683aa42838
commit
a711f19e05
@ -419,7 +419,7 @@ class SelectionQueue(CollisionHandlerQueue):
|
|||||||
# And a traverser to do the actual collision tests
|
# And a traverser to do the actual collision tests
|
||||||
self.ct = CollisionTraverser("DirectSelection")
|
self.ct = CollisionTraverser("DirectSelection")
|
||||||
# Let the traverser know about the collision node and the queue
|
# Let the traverser know about the collision node and the queue
|
||||||
self.ct.addCollider(self.collisionNode, self)
|
self.ct.addCollider(self.collisionNodePath, self)
|
||||||
# List of objects that can't be selected
|
# List of objects that can't be selected
|
||||||
self.unpickable = UNPICKABLE
|
self.unpickable = UNPICKABLE
|
||||||
# Derived class must add Collider to complete initialization
|
# Derived class must add Collider to complete initialization
|
||||||
|
Loading…
x
Reference in New Issue
Block a user