*** empty log message ***

This commit is contained in:
Mark Mine 2000-11-16 20:00:12 +00:00
parent 39be20c800
commit 94434ae411
2 changed files with 6 additions and 4 deletions

View File

@ -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:

View File

@ -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