From 65c77c32f9de48a259bb34b4113eca4c0607526f Mon Sep 17 00:00:00 2001 From: Swann Martinez Date: Fri, 23 Aug 2019 17:47:46 +0200 Subject: [PATCH] feat: bump replication submodule --- libs/replication | 2 +- operators.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/replication b/libs/replication index 07a0cfe..74f02af 160000 --- a/libs/replication +++ b/libs/replication @@ -1 +1 @@ -Subproject commit 07a0cfed49617c6b8a17324975075c5354a6d37c +Subproject commit 74f02af8be21ad948f38c9b3fe5b7adaa131d260 diff --git a/operators.py b/operators.py index 4100a72..9e63d6a 100644 --- a/operators.py +++ b/operators.py @@ -16,7 +16,7 @@ from bpy_extras.io_utils import ExportHelper from . import environment, presence, ui, utils, delayable from .libs import umsgpack from .libs.replication.data import ReplicatedDataFactory -from .libs.replication.interface import Client +from .libs.replication.interface import Session from . import bl_types logger = logging.getLogger(__name__) @@ -51,7 +51,7 @@ def add_datablock(datablock): and client.exist(datablock.uuid): return datablock.uuid else: - new_uuid = client.add(datablock, childs=child) + new_uuid = client.add(datablock, dependencies=child) datablock.uuid = new_uuid return new_uuid @@ -108,7 +108,7 @@ class SessionStartOperator(bpy.types.Operator): timout=_type.bl_delay_apply, target_type=_type.bl_rep_class)) - client = Client(factory=bpy_factory) + client = Session(factory=bpy_factory) if self.host: client.host( @@ -226,7 +226,7 @@ class SessionPropertyRightOperator(bpy.types.Operator): global client if client: - client.change_right(self.key, settings.clients) + client.change_owner(self.key, settings.clients) return {"FINISHED"}