mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
*** empty log message ***
This commit is contained in:
parent
39be20c800
commit
94434ae411
@ -403,6 +403,7 @@ class LevelEditor(NodePath, PandaObject):
|
||||
self.attributeDictionary['streetTexture'] = 'street_street_tex'
|
||||
self.attributeDictionary['sidewalkTexture'] = 'street_sidewalk_tex'
|
||||
self.dnaOutputFile = 'toontown_central_working.dna'
|
||||
self.editMenu.selectitem('Toontown Central')
|
||||
|
||||
def editDonaldsDock(self):
|
||||
self.levelMap.setPos(0.0,0.0,0.0)
|
||||
@ -416,6 +417,7 @@ class LevelEditor(NodePath, PandaObject):
|
||||
self.attributeDictionary['sidewalkTexture'] = (
|
||||
'street_sidewalk_dock_tex')
|
||||
self.dnaOutputFile = 'donalds_dock_working.dna'
|
||||
self.panel.editMenu.selectitem('Donalds Dock')
|
||||
|
||||
def editMinniesMelodyLand(self):
|
||||
self.levelMap.setPos(0.0,0.0,0.0)
|
||||
@ -429,6 +431,7 @@ class LevelEditor(NodePath, PandaObject):
|
||||
self.attributeDictionary['sidewalkTexture'] = (
|
||||
'street_sidewalk_dock_tex')
|
||||
self.dnaOutputFile = 'minnies_melody_land_working.dna'
|
||||
self.panel.editMenu.selectitem('Minnies Melody Land')
|
||||
|
||||
def editTheBurrrgh(self):
|
||||
self.levelMap.setPos(0.0,0.0,0.0)
|
||||
@ -442,6 +445,7 @@ class LevelEditor(NodePath, PandaObject):
|
||||
self.attributeDictionary['sidewalkTexture'] = (
|
||||
'street_sidewalk_dock_tex')
|
||||
self.dnaOutputFile = 'the_burrrgh_working.dna'
|
||||
self.panel.editMenu.selectitem('The Burrrgh')
|
||||
|
||||
def showMap(self, mapName):
|
||||
if self.activeMap:
|
||||
|
@ -8,10 +8,8 @@ class PieMenu(NodePath, PandaObject):
|
||||
self.assign(hidden.attachNewNode(NamedNode('PieMenu')))
|
||||
# Attach the menu
|
||||
self.menu = menu
|
||||
# Create a scene graph reducer to flatten the menu
|
||||
self.sgReducer = SceneGraphReducer(RenderRelation.getClassType())
|
||||
self.sgReducer.applyTransitions(self.menu.node())
|
||||
self.sgReducer.flatten(self.menu.node(), 0)
|
||||
# Try to flatten the menu
|
||||
menu.flattenStrong()
|
||||
self.menu.reparentTo(self)
|
||||
# Initialize instance variables
|
||||
self.direct = direct
|
||||
|
Loading…
x
Reference in New Issue
Block a user