mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge pull request #428 from BigRoy/enhancement/workfile_templates_delete_placeholder_no_loads
Workfile Templates: Delete placeholder if Keep Placeholder is not enabled
This commit is contained in:
commit
8757051484
1 changed files with 2 additions and 0 deletions
|
|
@ -1588,6 +1588,8 @@ class PlaceholderLoadMixin(object):
|
|||
self.log.info((
|
||||
"There's no representation for this placeholder: {}"
|
||||
).format(placeholder.scene_identifier))
|
||||
if not placeholder.data.get("keep_placeholder", True):
|
||||
self.delete_placeholder(placeholder)
|
||||
return
|
||||
|
||||
loaders_by_name = self.builder.get_loaders_by_name()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue