Fix typo in DirectSelection.

This commit is contained in:
Sam Edwards 2014-01-24 06:06:53 -07:00
parent fa8750d2e5
commit b6e33d3d38
1 changed files with 2 additions and 2 deletions

View File

@ -612,8 +612,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