fix: construct error
This commit is contained in:
parent
f0c1fe9c87
commit
4b1499f6ae
@ -71,7 +71,7 @@ class BlFile(ReplicatedDatablock):
|
||||
self.preferences = utils.get_preferences()
|
||||
self.diff_method = DIFF_BINARY
|
||||
|
||||
def resolve(self):
|
||||
def resolve(self, construct = True):
|
||||
if self.data:
|
||||
self.instance = Path(get_filepath(self.data['name']))
|
||||
|
||||
|
@ -143,10 +143,10 @@ class BlSequencer(BlDatablock):
|
||||
|
||||
return scene.sequence_editor
|
||||
|
||||
def resolve(self):
|
||||
def resolve(self, construct = True):
|
||||
scene = bpy.data.scenes.get(self.data['name'], None)
|
||||
if scene:
|
||||
if scene.sequence_editor is None:
|
||||
if scene.sequence_editor is None and construct:
|
||||
self.instance = self._construct(self.data)
|
||||
else:
|
||||
self.instance = scene.sequence_editor
|
||||
|
Loading…
Reference in New Issue
Block a user