Merge branch 'develop' into remove-services

This commit is contained in:
Swann 2021-04-30 16:53:02 +02:00
commit 2ad93cf304
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -768,6 +768,6 @@ class BlObject(BlDatablock):
deps.extend(find_textures_dependencies(self.instance.modifiers))
deps.extend(find_geometry_nodes_dependencies(self.instance.modifiers))
if self.instance.data.shape_keys:
if hasattr(self.instance.data, 'shape_keys') and self.instance.data.shape_keys:
deps.extend(resolve_animation_dependencies(self.instance.data.shape_keys))
return deps