Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaia Clary <gaia.clary@machinimatrix.org>2015-04-28 11:52:19 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2015-04-28 11:52:19 +0300
commit5c6ec169ccb257a0f1d7f0aafa83f3d5ff866ba1 (patch)
tree29f3b2a687dfd242a36c21b5ef09291b10c6d680 /source/blender/editors/render/render_shading.c
parent7e36c280c2b268822862169c5493d4d6adaa818e (diff)
Added missing update tag to recalculate data after permutating materials
Diffstat (limited to 'source/blender/editors/render/render_shading.c')
-rw-r--r--source/blender/editors/render/render_shading.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/render/render_shading.c b/source/blender/editors/render/render_shading.c
index 88f522a2615..617364c7e74 100644
--- a/source/blender/editors/render/render_shading.c
+++ b/source/blender/editors/render/render_shading.c
@@ -422,6 +422,7 @@ static int material_slot_move_exec(bContext *C, wmOperator *op)
MEM_freeN(slot_remap);
+ DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
WM_event_add_notifier(C, NC_OBJECT | ND_DRAW | ND_DATA, ob);
return OPERATOR_FINISHED;