mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
minor cleanup
This commit is contained in:
parent
15a155032c
commit
02f629b118
@ -3656,20 +3656,6 @@ class LevelEditorPanel(Pmw.MegaToplevel):
|
||||
textvariable=self.baselineString)
|
||||
self.baselineTextBox.grid(row=1, column=0, columnspan=3)
|
||||
|
||||
"""levelAttribute = (
|
||||
self.styleManager.attributeDictionary
|
||||
['baseline_style']['toontown_central']
|
||||
.getDict().keys())
|
||||
levelAttribute.sort()
|
||||
baselineStyleList = ["<custom>", "Plain"] + levelAttribute
|
||||
self.baselineStyleMenu = Pmw.ComboBox(
|
||||
gridFrame, labelpos = W,
|
||||
label_text = 'Style:', entry_width = 12,
|
||||
selectioncommand = self.setSignBaselineStyle, history = 0,
|
||||
scrolledlist_items = baselineStyleList)
|
||||
self.baselineStyleMenu.selectitem(0)
|
||||
self.baselineStyleMenu.grid(row=2, column=0, columnspan=3)"""
|
||||
|
||||
fontList = [""]+self.styleManager.getCatalogCodes('font')
|
||||
self.fontMenu = Pmw.ComboBox(
|
||||
gridFrame, labelpos = W,
|
||||
@ -4090,7 +4076,8 @@ class LevelEditorPanel(Pmw.MegaToplevel):
|
||||
|
||||
def setSignBaselineStyle(self, val):
|
||||
baseline=self.currentBaselineDNA
|
||||
if not baseline:
|
||||
if baseline == None:
|
||||
print "\n\nbaseline == None"
|
||||
return #skyler: This isn't working yet.
|
||||
# As a workaround, select the baseline from the tk panel.
|
||||
# Try to find the first baseline in the sign:
|
||||
|
Loading…
x
Reference in New Issue
Block a user