mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
crash fix: len of unsized object
This commit is contained in:
parent
e5c6aebcef
commit
ea16d65902
@ -186,7 +186,7 @@ class GarbageReport(Job):
|
|||||||
for i in xrange(numGarbage):
|
for i in xrange(numGarbage):
|
||||||
yield None
|
yield None
|
||||||
idx = garbageIndices[i]
|
idx = garbageIndices[i]
|
||||||
objStr = deeptype(self.garbage[idx])
|
objStr = str(deeptype(self.garbage[idx]))
|
||||||
maxLen = 5000
|
maxLen = 5000
|
||||||
if len(objStr) > maxLen:
|
if len(objStr) > maxLen:
|
||||||
snip = '<SNIP>'
|
snip = '<SNIP>'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user