mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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
|
# level editors should call this func to tweak attributes of level
|
||||||
# entities
|
# entities
|
||||||
def setAttribChange(self, entId, attribName, value, username='SYSTEM'):
|
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
|
# send a copy to the client-side level obj FIRST
|
||||||
# (it may be a message that creates an entity)
|
# (it may be a message that creates an entity)
|
||||||
self.sendUpdate('setAttribChange',
|
self.sendUpdate('setAttribChange',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user