diff --git a/python/tk_nuke_writenode/handler.py b/python/tk_nuke_writenode/handler.py index 5bd2c75..267eebd 100644 --- a/python/tk_nuke_writenode/handler.py +++ b/python/tk_nuke_writenode/handler.py @@ -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, @@ -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: # @@ -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):