feat: move diff to observer
feat: logs
This commit is contained in:
@ -81,7 +81,7 @@ class BlDatablock(ReplicatedDatablock):
|
|||||||
if self.pointer and hasattr(self.pointer, 'uuid'):
|
if self.pointer and hasattr(self.pointer, 'uuid'):
|
||||||
self.pointer.uuid = self.uuid
|
self.pointer.uuid = self.uuid
|
||||||
|
|
||||||
self.diff_method = DIFF_BINARY
|
# self.diff_method = DIFF_BINARY
|
||||||
|
|
||||||
def library_apply(self):
|
def library_apply(self):
|
||||||
"""Apply stored data
|
"""Apply stored data
|
||||||
|
Submodule multi_user/libs/replication updated: ed2f080bce...1aab152fa3
@ -497,15 +497,11 @@ def depsgraph_evaluation(scene):
|
|||||||
# - if its ours or ( under common and diff), launch the
|
# - if its ours or ( under common and diff), launch the
|
||||||
# update process
|
# update process
|
||||||
# - if its to someone else, ignore the update (go deeper ?)
|
# - if its to someone else, ignore the update (go deeper ?)
|
||||||
if node.owner in [session_infos.username]:
|
if node.owner in [session_infos.username, 'COMMON']:
|
||||||
# Avoid slow geometry update
|
# Avoid slow geometry update
|
||||||
if 'EDIT' in context.mode:
|
if 'EDIT' in context.mode:
|
||||||
break
|
break
|
||||||
client.stash(node.uuid)
|
client.stash(node.uuid)
|
||||||
# TODO: Do this from replication api...Maybe as a task !
|
|
||||||
if node.owner == 'COMMON':
|
|
||||||
if node.diff():
|
|
||||||
client.stash(node.uuid)
|
|
||||||
else:
|
else:
|
||||||
# Distant update
|
# Distant update
|
||||||
continue
|
continue
|
||||||
|
Reference in New Issue
Block a user