diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2015-04-28 11:52:19 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2015-04-28 11:52:19 +0300 |
commit | 5c6ec169ccb257a0f1d7f0aafa83f3d5ff866ba1 (patch) | |
tree | 29f3b2a687dfd242a36c21b5ef09291b10c6d680 /source/blender/editors/render | |
parent | 7e36c280c2b268822862169c5493d4d6adaa818e (diff) |
Added missing update tag to recalculate data after permutating materials
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_shading.c | 1 |
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; |