OBJECT_OT_drop_named_material -- missing notifier for material panel UI update

This commit is contained in:
Dan Eicher 2012-06-09 21:43:22 +00:00
parent 8e7d7d5ea5
commit 02bcba341d

@ -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;
}