diff --git a/pype/plugins/blender/load/load_camera.py b/pype/plugins/blender/load/load_camera.py index a69c01e806..7fd8f94b4e 100644 --- a/pype/plugins/blender/load/load_camera.py +++ b/pype/plugins/blender/load/load_camera.py @@ -60,8 +60,6 @@ class BlendCameraLoader(pype.hosts.blender.plugin.AssetLoader): avalon_info = obj[blender.pipeline.AVALON_PROPERTY] avalon_info.update({"container_name": container_name}) - - if actions[0] is not None: if obj.animation_data is None: obj.animation_data_create() @@ -192,7 +190,7 @@ class BlendCameraLoader(pype.hosts.blender.plugin.AssetLoader): camera = objects[0] - actions = ( camera.animation_data.action, camera.data.animation_data.action ) + actions = (camera.animation_data.action, camera.data.animation_data.action) self._remove(objects, lib_container)