mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #6141 from ynput/bugfix/template-builder-use-correct-variable
Workfile Template Builder: Use correct variable in create placeholder
This commit is contained in:
commit
766622fd95
1 changed files with 1 additions and 2 deletions
|
|
@ -1971,7 +1971,6 @@ class PlaceholderCreateMixin(object):
|
|||
if not placeholder.data.get("keep_placeholder", True):
|
||||
self.delete_placeholder(placeholder)
|
||||
|
||||
|
||||
def create_failed(self, placeholder, creator_data):
|
||||
if hasattr(placeholder, "create_failed"):
|
||||
placeholder.create_failed(creator_data)
|
||||
|
|
@ -2036,7 +2035,7 @@ class CreatePlaceholderItem(PlaceholderItem):
|
|||
self._failed_created_publish_instances = []
|
||||
|
||||
def get_errors(self):
|
||||
if not self._failed_representations:
|
||||
if not self._failed_created_publish_instances:
|
||||
return []
|
||||
message = (
|
||||
"Failed to create {} instance using Creator {}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue