mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
Hound fix
This commit is contained in:
parent
0941a8d9ed
commit
66c762c635
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ class BlendLayoutLoader(plugin.AssetLoader):
|
|||
plugin.deselect_all()
|
||||
local_obj.select_set(True)
|
||||
bpy.context.view_layer.objects.active = local_obj
|
||||
if local_obj.library == None:
|
||||
if local_obj.library is None:
|
||||
bpy.ops.object.mode_set(mode='EDIT')
|
||||
bpy.ops.object.hook_reset()
|
||||
bpy.ops.object.mode_set(mode='OBJECT')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue