diff options
author | Jacques Lucke <jacques@blender.org> | 2022-01-04 15:38:02 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-01-04 15:38:02 +0300 |
commit | 3f3adef4a07df05fe92e0b948d4e2bc48f5ec3fc (patch) | |
tree | bd663322534a595e3e07bf37bce66fb7d177fe2b /source/blender/nodes/texture/nodes/node_texture_image.c | |
parent | c5b55a84f58aebc302de66fff13816d4beda38ee (diff) | |
parent | b2867d436585bf7ff92f1d7e9a0de9bb5ede006b (diff) |
Merge branch 'master' into temp-copy-on-writetemp-copy-on-write
Diffstat (limited to 'source/blender/nodes/texture/nodes/node_texture_image.c')
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_image.c b/source/blender/nodes/texture/nodes/node_texture_image.c index 9c61405ea23..18ae3609407 100644 --- a/source/blender/nodes/texture/nodes/node_texture_image.c +++ b/source/blender/nodes/texture/nodes/node_texture_image.c @@ -108,12 +108,13 @@ void register_node_type_tex_image(void) { static bNodeType ntype; - tex_node_type_base(&ntype, TEX_NODE_IMAGE, "Image", NODE_CLASS_INPUT, NODE_PREVIEW); + tex_node_type_base(&ntype, TEX_NODE_IMAGE, "Image", NODE_CLASS_INPUT); node_type_socket_templates(&ntype, NULL, outputs); node_type_init(&ntype, init); node_type_storage(&ntype, "ImageUser", node_free_standard_storage, node_copy_standard_storage); node_type_exec(&ntype, NULL, NULL, exec); ntype.labelfunc = node_image_label; + ntype.flag |= NODE_PREVIEW; nodeRegisterType(&ntype); } |