directtools: Fix typo in DirectSelection

This commit is contained in:
Sam Edwards 2018-02-23 15:50:41 -07:00
parent aa90b7b0c0
commit aaeb925e84

View File

@ -623,8 +623,8 @@ class SelectionRay(SelectionQueue):
def pickBitMask(self, bitMask = BitMask32.allOff(),
targetNodePath = None,
skipFlags = SKIP_ALL):
if parentNodePath is None:
parentNodePath = render
if targetNodePath is None:
targetNodePath = render
self.collideWithBitMask(bitMask)
self.pick(targetNodePath)
# Determine collision entry