diff options
author | Ton Roosendaal <ton@blender.org> | 2010-12-16 16:43:20 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-12-16 16:43:20 +0300 |
commit | 919d3413216818ef794dc897831d39059ac73f16 (patch) | |
tree | 3bf2d7e03a2c1131212e2e8515da83c81cdf2ed6 /source/blender/makesrna/intern/rna_nodetree.c | |
parent | 4e26b4ec38aa62959951e2edb488661e6245ba96 (diff) |
Bugfix #24976 revisited
Multi-layer images: clicking on the "Source" popup freed all memory
for multilayers, even when choosing the same "File" entry again.
Now it should work :)
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 0001537bbb9..6d87d30ea5c 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -318,8 +318,7 @@ static void rna_Node_image_layer_update(Main *bmain, Scene *scene, PointerRNA *p ImageUser *iuser= node->storage; BKE_image_multilayer_index(ima->rr, iuser); - /* do not call below function, it frees the multilayer exr */ - /* BKE_image_signal(ima, iuser, IMA_SIGNAL_SRC_CHANGE); */ + BKE_image_signal(ima, iuser, IMA_SIGNAL_SRC_CHANGE); rna_Node_update(bmain, scene, ptr); } |