mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Fixed bug in TreeNode.find()
This commit is contained in:
parent
23f5ce5dec
commit
63de89a6c8
@ -437,7 +437,7 @@ class TreeNode:
|
||||
if self.childrenTag:
|
||||
showThisItem = False
|
||||
for tagKey in self.childrenTag.keys():
|
||||
if item.nodePath.hasTag(tagKey):
|
||||
if self.item.nodePath.hasTag(tagKey):
|
||||
showThisItem = self.childrenTag[tagKey]
|
||||
if not showThisItem:
|
||||
return None
|
||||
|
Loading…
x
Reference in New Issue
Block a user