Skip to content
Open
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
9 changes: 2 additions & 7 deletions python/tk_nuke_writenode/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ def __set_profile(self, node, profile_name, reset_all_settings=False):
# update both the list and the cached value for profile name:
self.__update_knob_value(node, "profile_name", profile_name)
self.__update_knob_value(node, "tk_profile_list", profile_name)

# set the format
self.__populate_format_settings(
node,
Expand Down Expand Up @@ -1263,7 +1263,6 @@ def __populate_format_settings(
# promoted write node knobs. This will allow us to make sure
# that those knobs are set to the correct value, regardless
# of what the profile settings above have done.
filtered_settings = []

# Example data after splitting:
#
Expand All @@ -1284,12 +1283,8 @@ def __populate_format_settings(
self._app.log_debug(
"Found promoted write node knob setting: %s" % setting
)
filtered_settings.append(setting)

self._app.log_debug(
"Promoted write node knob settings to be applied: %s" % filtered_settings
)
write_node.readKnobs(r"\n".join(filtered_settings))
write_node.readKnobs(setting)
self.reset_render_path(node)

def __set_output(self, node, output_name):
Expand Down