Browse Source

factory editor now gets up-to-date spec through DC

Darren Ranalli 22 years ago
parent
commit
0b4d42f01c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      direct/src/level/DistributedLevelAI.py

+ 4 - 0
direct/src/level/DistributedLevelAI.py

@@ -102,6 +102,10 @@ class DistributedLevelAI(DistributedObjectAI.DistributedObjectAI,
             # might come in
             # might come in
             ##self.sendUpdate('setSpecOverride', [repr(self.spec)])
             ##self.sendUpdate('setSpecOverride', [repr(self.spec)])
 
 
+        def getCurrentSpec(self):
+            """returns the complete, current spec, including any edits"""
+            return self.spec
+
         """
         """
         def getSpecOverride(self):
         def getSpecOverride(self):
             # This is the value we'll send until someone actually edits
             # This is the value we'll send until someone actually edits