feat: bump replication submodule
This commit is contained in:
Submodule libs/replication updated: 07a0cfed49...74f02af8be
@ -16,7 +16,7 @@ from bpy_extras.io_utils import ExportHelper
|
|||||||
from . import environment, presence, ui, utils, delayable
|
from . import environment, presence, ui, utils, delayable
|
||||||
from .libs import umsgpack
|
from .libs import umsgpack
|
||||||
from .libs.replication.data import ReplicatedDataFactory
|
from .libs.replication.data import ReplicatedDataFactory
|
||||||
from .libs.replication.interface import Client
|
from .libs.replication.interface import Session
|
||||||
from . import bl_types
|
from . import bl_types
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
@ -51,7 +51,7 @@ def add_datablock(datablock):
|
|||||||
and client.exist(datablock.uuid):
|
and client.exist(datablock.uuid):
|
||||||
return datablock.uuid
|
return datablock.uuid
|
||||||
else:
|
else:
|
||||||
new_uuid = client.add(datablock, childs=child)
|
new_uuid = client.add(datablock, dependencies=child)
|
||||||
datablock.uuid = new_uuid
|
datablock.uuid = new_uuid
|
||||||
return new_uuid
|
return new_uuid
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ class SessionStartOperator(bpy.types.Operator):
|
|||||||
timout=_type.bl_delay_apply,
|
timout=_type.bl_delay_apply,
|
||||||
target_type=_type.bl_rep_class))
|
target_type=_type.bl_rep_class))
|
||||||
|
|
||||||
client = Client(factory=bpy_factory)
|
client = Session(factory=bpy_factory)
|
||||||
|
|
||||||
if self.host:
|
if self.host:
|
||||||
client.host(
|
client.host(
|
||||||
@ -226,7 +226,7 @@ class SessionPropertyRightOperator(bpy.types.Operator):
|
|||||||
global client
|
global client
|
||||||
|
|
||||||
if client:
|
if client:
|
||||||
client.change_right(self.key, settings.clients)
|
client.change_owner(self.key, settings.clients)
|
||||||
|
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user