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
path: root/source
diff options
context:
space:
mode:
authorDan Eicher <dan@eu.phorio.us>2012-06-10 01:43:22 +0400
committerDan Eicher <dan@eu.phorio.us>2012-06-10 01:43:22 +0400
commit02bcba341dd403906027ed0a4122c3ce68bf6b7a (patch)
tree9b986fb0602d670477c7e2794cf163703b0d99b2 /source
parent8e7d7d5ea56c75739164b98f5fb2f97ff51d697b (diff)
OBJECT_OT_drop_named_material -- missing notifier for material panel UI update
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/object/object_relations.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index 85b9d78c657..fc0aa39e733 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -1929,6 +1929,7 @@ static int drop_named_material_invoke(bContext *C, wmOperator *op, wmEvent *even
DAG_ids_flush_update(bmain, 0);
WM_event_add_notifier(C, NC_SPACE | ND_SPACE_VIEW3D, CTX_wm_view3d(C));
+ WM_event_add_notifier(C, NC_MATERIAL | ND_SHADING, ma);
return OPERATOR_FINISHED;
}