mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
estate storage
This commit is contained in:
parent
3d465db350
commit
468393c070
@ -216,6 +216,7 @@ except NameError:
|
||||
# Load the generic storage files
|
||||
loadDNAFile(DNASTORE, 'phase_4/dna/storage.dna', CSDefault, 1)
|
||||
loadDNAFile(DNASTORE, 'phase_5/dna/storage_town.dna', CSDefault, 1)
|
||||
loadDNAFile(DNASTORE, 'phase_5.5/dna/storage_estate.dna', CSDefault, 1)
|
||||
# Load all the neighborhood specific storage files
|
||||
if 'TT' in hoods:
|
||||
loadDNAFile(DNASTORE, 'phase_4/dna/storage_TT.dna', CSDefault, 1)
|
||||
@ -680,6 +681,9 @@ class LevelEditor(NodePath, PandaObject):
|
||||
# Update scene graph explorer
|
||||
if fUpdateExplorer:
|
||||
self.panel.sceneGraphExplorer.update()
|
||||
|
||||
self.outputFile = None
|
||||
self.panel["title"] = 'Level Editor: No file loaded'
|
||||
|
||||
def deleteToplevel(self):
|
||||
# Destory old toplevel node path and DNA
|
||||
@ -2506,6 +2510,7 @@ class LevelEditor(NodePath, PandaObject):
|
||||
if dnaFilename:
|
||||
self.loadDNAFromFile(dnaFilename)
|
||||
self.outputFile = dnaFilename
|
||||
print "Finished Load: ", dnaFilename
|
||||
|
||||
def saveToSpecifiedDNAFile(self):
|
||||
path = dnaDirectory.toOsSpecific()
|
||||
|
Loading…
x
Reference in New Issue
Block a user