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