diff options
author | Jacques Lucke <jacques@blender.org> | 2022-01-14 14:50:38 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-01-14 14:50:53 +0300 |
commit | c9a8975de5555c716013d0c16058bdc401541965 (patch) | |
tree | a55514a41edd15f8536dc6c4927324e640a40c44 /source/blender | |
parent | 261517e4759311e60190b087f5d5d6f8f57f279d (diff) |
Fix T94867: viewport render not updating when editing color ramp
The changed node wasn't tagged correctly.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_color.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c index 091b457cc83..b12ec4651b4 100644 --- a/source/blender/makesrna/intern/rna_color.c +++ b/source/blender/makesrna/intern/rna_color.c @@ -26,6 +26,8 @@ #include "BLI_utildefines.h" +#include "BKE_node_tree_update.h" + #include "RNA_define.h" #include "rna_internal.h" @@ -321,6 +323,7 @@ static void rna_ColorRamp_update(Main *bmain, Scene *UNUSED(scene), PointerRNA * CMP_NODE_VALTORGB, TEX_NODE_VALTORGB, GEO_NODE_LEGACY_ATTRIBUTE_COLOR_RAMP)) { + BKE_ntree_update_tag_node_property(ntree, node); ED_node_tree_propagate_change(NULL, bmain, ntree); } } |