estate storage

This commit is contained in:
Joe Shochet 2003-03-31 23:25:03 +00:00
parent 3d465db350
commit 468393c070

View File

@ -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)
@ -681,6 +682,9 @@ class LevelEditor(NodePath, PandaObject):
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
# First the toplevel 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()