diff --git a/openpype/hosts/maya/api/template_loader.py b/openpype/hosts/maya/api/template_loader.py index 841bbf4861b..05af5623e42 100644 --- a/openpype/hosts/maya/api/template_loader.py +++ b/openpype/hosts/maya/api/template_loader.py @@ -149,7 +149,7 @@ def parent_in_hierarchy(self, containers): # Move loaded nodes to correct index in outliner hierarchy placeholder_node = self.data['node'] placeholder_form = cmds.xform( - placeholder_node, q=True, matrix=True, worldSpace=True) + placeholder_node, q=True, matrix=True, worldSpace=True) for node in set(nodes_to_parent): cmds.reorder(node, front=True) cmds.reorder(node, relative=self.data['index']) diff --git a/openpype/lib/avalon_context.py b/openpype/lib/avalon_context.py index 2b63ab79074..f953ed36cd5 100644 --- a/openpype/lib/avalon_context.py +++ b/openpype/lib/avalon_context.py @@ -840,6 +840,7 @@ def collect_last_version_repres(asset_entities): return output + @with_avalon def get_loaders_by_name():