Bugfix #27078
Added notifier to make material preview update when selecting a face in editmode with a different material than displayed.
This commit is contained in:
@@ -2339,7 +2339,7 @@ int mouse_mesh(bContext *C, const int mval[2], short extend)
|
||||
if (efa && efa->mat_nr != vc.obedit->actcol-1) {
|
||||
vc.obedit->actcol= efa->mat_nr+1;
|
||||
vc.em->mat_nr= efa->mat_nr;
|
||||
// BIF_preview_changed(ID_MA);
|
||||
WM_event_add_notifier(C, NC_MATERIAL|ND_SHADING, NULL);
|
||||
}
|
||||
|
||||
WM_event_add_notifier(C, NC_GEOM|ND_SELECT, vc.obedit->data);
|
||||
|
||||
Reference in New Issue
Block a user