fix: wrong scene initialisation
This commit is contained in:
parent
95524fa3e9
commit
54bcd41267
@ -112,7 +112,7 @@ class BlDatablock(ReplicatedDatablock):
|
||||
self.diff_method = DIFF_BINARY
|
||||
|
||||
|
||||
def _resolve(self):
|
||||
def resolve(self):
|
||||
datablock_ref = None
|
||||
datablock_root = getattr(bpy.data, self.bl_id)
|
||||
datablock_ref = utils.find_from_attr('uuid', self.uuid, datablock_root)
|
||||
@ -123,8 +123,11 @@ class BlDatablock(ReplicatedDatablock):
|
||||
|
||||
if datablock_ref:
|
||||
setattr(datablock_ref, 'uuid', self.uuid)
|
||||
else:
|
||||
self._construct(data=self.data)
|
||||
|
||||
return datablock_ref
|
||||
|
||||
self.instance = datablock_ref
|
||||
|
||||
def _dump(self, instance=None):
|
||||
dumper = Dumper()
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit e0bbcf4ade5667ca505a458437719c0ee3c96150
|
||||
Subproject commit 11ec4dcf652d8909a04e5e2b70fc7567207d78b5
|
Loading…
Reference in New Issue
Block a user