Compositor: remove preview for File Output node

Output nodes typically don't have a preview (see also ed13dad0). Also,
it is not clear what should be shown as a preview, especially when the
file output node can have an arbitrary number of inputs of different
types.

This commit removes the preview for the File Output node.

Pull Request: https://projects.blender.org/blender/blender/pulls/144029
This commit is contained in:
Habib Gahbiche
2025-08-06 17:15:23 +02:00
parent 56c08fd5c4
commit 0b77aec780

View File

@@ -1059,7 +1059,6 @@ static void register_node_type_cmp_output_file()
ntype.draw_buttons = file_ns::node_composit_buts_file_output;
ntype.draw_buttons_ex = file_ns::node_composit_buts_file_output_ex;
ntype.initfunc_api = file_ns::init_output_file;
ntype.flag |= NODE_PREVIEW;
blender::bke::node_type_storage(
ntype, "NodeImageMultiFile", file_ns::free_output_file, file_ns::copy_output_file);
ntype.updatefunc = file_ns::update_output_file;