mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
formatting
This commit is contained in:
parent
35fac86d24
commit
d86de833e3
@ -8,7 +8,6 @@ def findDialog(uniqueName):
|
||||
Returns the panel whose uniqueName is given. This is mainly
|
||||
useful for debugging, to get a pointer to the current onscreen
|
||||
panel of a particular type.
|
||||
|
||||
"""
|
||||
if DirectDialog.AllDialogs.has_key(uniqueName):
|
||||
return DirectDialog.AllDialogs[uniqueName]
|
||||
@ -22,7 +21,6 @@ def cleanupDialog(uniqueName):
|
||||
that opening panel A should automatically close panel B, for
|
||||
instance.
|
||||
"""
|
||||
|
||||
if DirectDialog.AllDialogs.has_key(uniqueName):
|
||||
# calling cleanup() will remove it out of the AllDialogs dict
|
||||
# This way it will get removed from the dict even it we did
|
||||
|
Loading…
x
Reference in New Issue
Block a user