Added holiday props

This commit is contained in:
Mark Mine 2005-01-05 02:15:38 +00:00
parent 0fce12f1d5
commit 06413d98ac

View File

@ -4020,7 +4020,7 @@ class LevelStyleManager:
(dnaType == 'toon_landmark')): (dnaType == 'toon_landmark')):
dnaList = self.getCatalogCodes(dnaType) dnaList = self.getCatalogCodes(dnaType)
if dnaType == 'prop': if dnaType == 'prop':
dnaList.append(self.getCatalogCodes('holiday_prop')) dnaList = dnaList + self.getCatalogCodes('holiday_prop')
elif (dnaType == 'sign'): elif (dnaType == 'sign'):
dnaList = [''] + self.getCatalogCodes(dnaType) dnaList = [''] + self.getCatalogCodes(dnaType)
elif (dnaType == 'wall'): elif (dnaType == 'wall'):
@ -5037,7 +5037,8 @@ class LevelEditorPanel(Pmw.MegaToplevel):
text = 'ADD PROP', text = 'ADD PROP',
command = self.addProp) command = self.addProp)
self.addPropsButton.pack(fill = X, padx = 20, pady = 10) self.addPropsButton.pack(fill = X, padx = 20, pady = 10)
codes = self.styleManager.getCatalogCodes('prop') codes = (self.styleManager.getCatalogCodes('prop') +
self.styleManager.getCatalogCodes('holiday_prop'))
codes.sort() codes.sort()
self.propSelector = Pmw.ComboBox( self.propSelector = Pmw.ComboBox(
propsPage, propsPage,