Hound fix

This commit is contained in:
Simone Barbieri 2022-01-14 11:31:45 +00:00
parent 0941a8d9ed
commit 66c762c635

View file

@ -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')