Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuke: Remove unused 'get_render_path' function #5826

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Changes from all commits
Commits
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
21 changes: 0 additions & 21 deletions openpype/hosts/nuke/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
from openpype.modules import ModulesManager
from openpype.pipeline.template_data import get_template_data_with_names
from openpype.pipeline import (
get_current_project_name,
discover_legacy_creator_plugins,
Anatomy,
get_current_host_name,
Expand Down Expand Up @@ -1099,26 +1098,6 @@ def check_subsetname_exists(nodes, subset_name):
False)


def get_render_path(node):
''' Generate Render path from presets regarding avalon knob data
'''
avalon_knob_data = read_avalon_data(node)

nuke_imageio_writes = get_imageio_node_setting(
node_class=avalon_knob_data["families"],
plugin_name=avalon_knob_data["creator"],
subset=avalon_knob_data["subset"]
)

data = {
"avalon": avalon_knob_data,
"nuke_imageio_writes": nuke_imageio_writes
}

anatomy_filled = format_anatomy(data)
return anatomy_filled["render"]["path"].replace("\\", "/")


def format_anatomy(data):
''' Helping function for formatting of anatomy paths

Expand Down
Loading