Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Global | Nuke: Creator placeholders in workfile template builder #4266

Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
95b15a9
global,nuke,maya: on demand placeholder removal preset attribute
jakubjezek001 Dec 22, 2022
011cd8f
nuke: remove update template menu item
jakubjezek001 Dec 22, 2022
90303d4
global: updating docstrings
jakubjezek001 Dec 22, 2022
212b372
nuke: make `get_group_io_nodes` soft fail
jakubjezek001 Dec 22, 2022
f5cb893
global: creator plugin abstraction for workfile builder template
jakubjezek001 Dec 23, 2022
dfb3d14
nuke: workfile builder template creator plugin implementation
jakubjezek001 Dec 23, 2022
013ee56
fix typo
jakubjezek001 Dec 23, 2022
410ed90
fix typo
jakubjezek001 Dec 23, 2022
c6c08fd
global: fix creator plugin discovery
jakubjezek001 Dec 23, 2022
81de2cf
global: fix _repr_ pformat printing
jakubjezek001 Dec 23, 2022
4f7e4fc
global: add _before_instance_create function for storing created nodes
jakubjezek001 Dec 23, 2022
5924dcc
nuke: implementing _before_instance_create funtion
jakubjezek001 Dec 23, 2022
c06315d
nuke: fixing logic for creator placeholder plugin processing
jakubjezek001 Dec 23, 2022
c0157e5
remove todo
jakubjezek001 Dec 23, 2022
40cf295
Update openpype/pipeline/workfile/workfile_template_builder.py
jakubjezek001 Jan 4, 2023
e69f353
Update openpype/pipeline/workfile/workfile_template_builder.py
jakubjezek001 Jan 4, 2023
efbbc91
Merge branch 'develop' into feature/OP-4146_nuke-workfile-template-bu…
jakubjezek001 Jan 4, 2023
5c6d86e
maya: fix typo in template builder
jakubjezek001 Jan 6, 2023
20b2b50
global: adding project anatomy data for formating
jakubjezek001 Jan 6, 2023
673e7a7
Update openpype/pipeline/workfile/workfile_template_builder.py
jakubjezek001 Jan 6, 2023
d6004c2
Update openpype/pipeline/workfile/workfile_template_builder.py
jakubjezek001 Jan 6, 2023
c071140
PR comments
jakubjezek001 Jan 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openpype/hosts/maya/api/workfile_template_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def import_template(self, path):

Args:
path (str): A path to current template (usually given by
get_template_path implementation)
get_template_preset implementation)

Returns:
bool: Wether the template was succesfully imported or not
Expand Down
5 changes: 3 additions & 2 deletions openpype/hosts/nuke/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2865,10 +2865,11 @@ def get_group_io_nodes(nodes):
break

if input_node is None:
raise ValueError("No Input found")
log.warning("No Input found")

if output_node is None:
raise ValueError("No Output found")
log.warning("No Output found")

return input_node, output_node


Expand Down
8 changes: 3 additions & 5 deletions openpype/hosts/nuke/api/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
)
from .workfile_template_builder import (
NukePlaceholderLoadPlugin,
NukePlaceholderCreatePlugin,
build_workfile_template,
update_workfile_template,
create_placeholder,
Expand Down Expand Up @@ -139,7 +140,8 @@ def _show_workfiles():

def get_workfile_build_placeholder_plugins():
return [
NukePlaceholderLoadPlugin
NukePlaceholderLoadPlugin,
NukePlaceholderCreatePlugin
]


Expand Down Expand Up @@ -217,10 +219,6 @@ def _install_menu():
"Build Workfile from template",
lambda: build_workfile_template()
)
menu_template.addCommand(
"Update Workfile",
lambda: update_workfile_template()
)
menu_template.addSeparator()
menu_template.addCommand(
"Create Place Holder",
Expand Down
Loading