mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
sorting keys
This commit is contained in:
parent
283bee6b35
commit
ba511e303a
@ -37,7 +37,9 @@ class OnScreenDebug:
|
|||||||
if not self.onScreenText:
|
if not self.onScreenText:
|
||||||
self.load()
|
self.load()
|
||||||
self.onScreenText.clearText()
|
self.onScreenText.clearText()
|
||||||
for k, v in self.data.items():
|
entries = self.data.items()
|
||||||
|
entries.sort()
|
||||||
|
for k, v in entries:
|
||||||
if v[0] == self.frame:
|
if v[0] == self.frame:
|
||||||
# It was updated this frame (key equals value):
|
# It was updated this frame (key equals value):
|
||||||
#isNew = " is"
|
#isNew = " is"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user