mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
edit logging
This commit is contained in:
parent
249563eef1
commit
af28dcf35f
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user