diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-11-06 18:58:06 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-11-06 18:58:06 +0300 |
commit | f6ad56b1bc1c0c7c1d4bf3aced20dff207254527 (patch) | |
tree | 023285c95a3c90c4b01673529fba4d709b266c16 /source/blender/editors/space_outliner | |
parent | 3cb4c513080ebeead7c5629a7f0503fae9513803 (diff) | |
parent | 1019df81ffbcb0f696b260fc8cfb6a6bb1104a62 (diff) |
Merge branch 'blender-v2.91-release' into master
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_dragdrop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_dragdrop.c b/source/blender/editors/space_outliner/outliner_dragdrop.c index 6c0975498e0..865e06bf0b6 100644 --- a/source/blender/editors/space_outliner/outliner_dragdrop.c +++ b/source/blender/editors/space_outliner/outliner_dragdrop.c @@ -641,6 +641,7 @@ static int material_drop_invoke(bContext *C, wmOperator *UNUSED(op), const wmEve BKE_object_material_assign(bmain, ob, ma, ob->totcol + 1, BKE_MAT_ASSIGN_USERPREF); + WM_event_add_notifier(C, NC_OBJECT | ND_OB_SHADING, ob); WM_event_add_notifier(C, NC_SPACE | ND_SPACE_VIEW3D, CTX_wm_view3d(C)); WM_event_add_notifier(C, NC_MATERIAL | ND_SHADING_LINKS, ma); |