mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
directtools: Fix typo in DirectSelection
This commit is contained in:
parent
aa90b7b0c0
commit
aaeb925e84
@ -623,8 +623,8 @@ class SelectionRay(SelectionQueue):
|
|||||||
def pickBitMask(self, bitMask = BitMask32.allOff(),
|
def pickBitMask(self, bitMask = BitMask32.allOff(),
|
||||||
targetNodePath = None,
|
targetNodePath = None,
|
||||||
skipFlags = SKIP_ALL):
|
skipFlags = SKIP_ALL):
|
||||||
if parentNodePath is None:
|
if targetNodePath is None:
|
||||||
parentNodePath = render
|
targetNodePath = render
|
||||||
self.collideWithBitMask(bitMask)
|
self.collideWithBitMask(bitMask)
|
||||||
self.pick(targetNodePath)
|
self.pick(targetNodePath)
|
||||||
# Determine collision entry
|
# Determine collision entry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user