From 66c762c63504ebdefbb2234fcdbd905f163beff6 Mon Sep 17 00:00:00 2001 From: Simone Barbieri Date: Fri, 14 Jan 2022 11:31:45 +0000 Subject: [PATCH] Hound fix --- openpype/hosts/blender/plugins/load/load_layout_blend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpype/hosts/blender/plugins/load/load_layout_blend.py b/openpype/hosts/blender/plugins/load/load_layout_blend.py index b7981e0fc8..0f5ae01a99 100644 --- a/openpype/hosts/blender/plugins/load/load_layout_blend.py +++ b/openpype/hosts/blender/plugins/load/load_layout_blend.py @@ -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')