Browse Source

edit logging

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

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

@@ -97,6 +97,9 @@ class DistributedLevelAI(DistributedObjectAI.DistributedObjectAI,
         # level editors should call this func to tweak attributes of level
         # entities
         def setAttribChange(self, entId, attribName, value, username='SYSTEM'):
+            DistributedLevelAI.notify.info(
+                "setAttribChange(%s): %s, %s = %s" %
+                (username, entId, attribName, repr(value)))
             # send a copy to the client-side level obj FIRST
             # (it may be a message that creates an entity)
             self.sendUpdate('setAttribChange',