mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
don't add new zones to every vis list
This commit is contained in:
parent
b82d279b91
commit
85dae20f1f
@ -117,9 +117,11 @@ def privUpdateSpec(spec, modelPath, entTypeModule):
|
||||
for zoneNum in removedZoneNums:
|
||||
if zoneNum in visDict:
|
||||
del visDict[zoneNum]
|
||||
"""
|
||||
for zoneNum in newZoneNums:
|
||||
if zoneNum not in visDict:
|
||||
visDict[zoneNum]=None
|
||||
"""
|
||||
visList = visDict.keys()
|
||||
visList.sort()
|
||||
spec.doSetAttrib(entId, 'visibility', visList)
|
||||
|
Loading…
x
Reference in New Issue
Block a user