From 2528c1d5920f99fae9faa58c310e3dc3c91d88ed Mon Sep 17 00:00:00 2001 From: Swann Date: Tue, 27 Aug 2019 18:07:39 +0200 Subject: [PATCH] fix: import error --- bl_types/bl_curve.py | 1 + bl_types/bl_datablock.py | 2 +- libs/replication | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bl_types/bl_curve.py b/bl_types/bl_curve.py index 4a8d49d..df3e515 100644 --- a/bl_types/bl_curve.py +++ b/bl_types/bl_curve.py @@ -1,5 +1,6 @@ import bpy import mathutils +from jsondiff import diff from .. import utils from .bl_datablock import BlDatablock diff --git a/bl_types/bl_datablock.py b/bl_types/bl_datablock.py index 16ed747..e03e76f 100644 --- a/bl_types/bl_datablock.py +++ b/bl_types/bl_datablock.py @@ -8,7 +8,7 @@ from ..libs.replication.replication.data import ReplicatedDatablock class BlDatablock(ReplicatedDatablock): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - + if self.pointer and hasattr(self.pointer, 'uuid'): self.pointer.uuid = self.uuid diff --git a/libs/replication b/libs/replication index 52ec856..0c2d48b 160000 --- a/libs/replication +++ b/libs/replication @@ -1 +1 @@ -Subproject commit 52ec8569b491fcd0d5699d51f337f70dbb2bc0ef +Subproject commit 0c2d48bc504692bf17266ec177d101f7914f9739