diff --git a/direct/src/level/EditMgrAI.py b/direct/src/level/EditMgrAI.py index be7e89c41e..ae1f545f9c 100755 --- a/direct/src/level/EditMgrAI.py +++ b/direct/src/level/EditMgrAI.py @@ -16,6 +16,9 @@ class EditMgrAI(EditMgrBase.EditMgrBase): # dumb linear search for now # make this smarter (cache last-allocated id) + # Note that this uses the ID range associated with the + # AI's username, not the username of the user who requested + # the new entity. for id in xrange(*EditorGlobals.getEntIdAllocRange()): if not id in entIdDict: break diff --git a/direct/src/level/LevelSpec.py b/direct/src/level/LevelSpec.py index 963937cc88..47d13bfa88 100755 --- a/direct/src/level/LevelSpec.py +++ b/direct/src/level/LevelSpec.py @@ -94,8 +94,8 @@ class LevelSpec: def setAttribChange(self, entId, attrib, value, username): """ we're being asked to change an attribute """ - LevelSpec.notify.debug("setAttribChange(%s): %s, %s = '%s'" % - (username, entId, attrib, repr(value))) + LevelSpec.notify.info("setAttribChange(%s): %s, %s = '%s'" % + (username, entId, attrib, repr(value))) assert entId in self.entId2specDict specDict = self.entId2specDict[entId] assert specDict[entId].has_key(attrib) @@ -105,7 +105,7 @@ class LevelSpec: self.level.handleAttribChange(entId, attrib, value, username) def insertEntity(self, entId, entType, parentEntId): - LevelSpec.notify.debug('inserting entity %s' % entId) + LevelSpec.notify.info('inserting entity %s' % entId) assert entId not in self.entId2specDict assert self.entTypeReg is not None globalEnts = self.privGetGlobalEntityDict() @@ -125,7 +125,7 @@ class LevelSpec: self.level.handleEntityInsert(entId) def removeEntity(self, entId): - LevelSpec.notify.debug('removing entity %s' % entId) + LevelSpec.notify.info('removing entity %s' % entId) assert entId in self.entId2specDict # notify the level self.level.handleEntityRemove(entId)