Bugfix #24976
authorTon Roosendaal <ton@blender.org>
Tue, 30 Nov 2010 18:46:34 +0000 (18:46 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 30 Nov 2010 18:46:34 +0000 (18:46 +0000)
Compositor: MultiLayer image node: on using layer menu, the entire
multilayer file got freed, causing node to collapse and open full
again after a composite.

source/blender/makesrna/intern/rna_nodetree.c

index 45cc039..0d7aec4 100644 (file)
@@ -281,7 +281,8 @@ static void rna_Node_image_layer_update(Main *bmain, Scene *scene, PointerRNA *p
        ImageUser *iuser= node->storage;
        
        BKE_image_multilayer_index(ima->rr, iuser);
-       BKE_image_signal(ima, iuser, IMA_SIGNAL_SRC_CHANGE);
+       /* do not call below function, it frees the multilayer exr */
+       /* BKE_image_signal(ima, iuser, IMA_SIGNAL_SRC_CHANGE); */
        
        rna_Node_update(bmain, scene, ptr);
 }