mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
*** empty log message ***
This commit is contained in:
parent
96e7d7dede
commit
52e8eb7482
@ -13,8 +13,8 @@ class Button(DirectObject):
|
||||
self.name = name
|
||||
# if no label given, use the button name
|
||||
if (label == None):
|
||||
self.label = name
|
||||
else:
|
||||
label = self.name
|
||||
|
||||
# check to see if this is an actual guiLabel or just text
|
||||
if (type(label) == type('')):
|
||||
# text label, make text button
|
||||
|
Loading…
x
Reference in New Issue
Block a user