bugfix [#25969] GLSL missing an update on texture slot change
authorM.G. Kishalmi <lmg@kishalmi.net>
Tue, 8 Feb 2011 14:33:08 +0000 (14:33 +0000)
committerM.G. Kishalmi <lmg@kishalmi.net>
Tue, 8 Feb 2011 14:33:08 +0000 (14:33 +0000)
what did I learn from this?
"if at first you don't succeed..
   you're not kaito." ;)

source/blender/editors/render/render_shading.c

index 560819b..df32a06 100644 (file)
@@ -791,6 +791,7 @@ static int texture_slot_move(bContext *C, wmOperator *op)
                        }
                }
 
+               DAG_id_tag_update(id, 0);
                WM_event_add_notifier(C, NC_TEXTURE, CTX_data_scene(C));
        }