From e9b4afb44011c1ab080231afa855eb5783a9e2c7 Mon Sep 17 00:00:00 2001 From: Swann Date: Fri, 11 Jun 2021 15:28:37 +0200 Subject: [PATCH] refactor: enable partial delta based replication --- multi_user/bl_types/bl_collection.py | 1 + multi_user/bl_types/bl_scene.py | 1 + multi_user/libs/replication | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/multi_user/bl_types/bl_collection.py b/multi_user/bl_types/bl_collection.py index 75be16c..02cd23c 100644 --- a/multi_user/bl_types/bl_collection.py +++ b/multi_user/bl_types/bl_collection.py @@ -90,6 +90,7 @@ class BlCollection(ReplicatedDatablock): bl_check_common = True bl_reload_parent = False + use_delta = True @staticmethod def construct(data: dict) -> object: diff --git a/multi_user/bl_types/bl_scene.py b/multi_user/bl_types/bl_scene.py index afe28af..84ec09a 100644 --- a/multi_user/bl_types/bl_scene.py +++ b/multi_user/bl_types/bl_scene.py @@ -373,6 +373,7 @@ def load_sequence(sequence_data: dict, class BlScene(ReplicatedDatablock): is_root = True + use_delta = True bl_id = "scenes" bl_class = bpy.types.Scene diff --git a/multi_user/libs/replication b/multi_user/libs/replication index 9cd1f2e..dd15f6e 160000 --- a/multi_user/libs/replication +++ b/multi_user/libs/replication @@ -1 +1 @@ -Subproject commit 9cd1f2e43545708ffe879c7b53d6e32e90c258f9 +Subproject commit dd15f6eae0d0eb71e09bc76e837848c70c5357c0