diff --git a/openpype/hosts/substancepainter/api/pipeline.py b/openpype/hosts/substancepainter/api/pipeline.py index a13075127f0..ff43e896c72 100644 --- a/openpype/hosts/substancepainter/api/pipeline.py +++ b/openpype/hosts/substancepainter/api/pipeline.py @@ -251,7 +251,7 @@ def _install_shelves(self, project_settings): if has_formatting_entries: project_name = self.get_current_project_name() asset_name = self.get_current_asset_name() - task_name = self.get_current_asset_name() + task_name = self.get_current_task_name() system_settings = get_system_settings() formatting_data = get_template_data_with_names(project_name, asset_name,