mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Added holiday props
This commit is contained in:
parent
0fce12f1d5
commit
06413d98ac
@ -4020,7 +4020,7 @@ class LevelStyleManager:
|
||||
(dnaType == 'toon_landmark')):
|
||||
dnaList = self.getCatalogCodes(dnaType)
|
||||
if dnaType == 'prop':
|
||||
dnaList.append(self.getCatalogCodes('holiday_prop'))
|
||||
dnaList = dnaList + self.getCatalogCodes('holiday_prop')
|
||||
elif (dnaType == 'sign'):
|
||||
dnaList = [''] + self.getCatalogCodes(dnaType)
|
||||
elif (dnaType == 'wall'):
|
||||
@ -5037,7 +5037,8 @@ class LevelEditorPanel(Pmw.MegaToplevel):
|
||||
text = 'ADD PROP',
|
||||
command = self.addProp)
|
||||
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()
|
||||
self.propSelector = Pmw.ComboBox(
|
||||
propsPage,
|
||||
|
Loading…
x
Reference in New Issue
Block a user