Fix T44476: Hiding Grease Pencil from Outliner RMB doesn't update 3D
View
This commit is contained in:
@@ -1011,7 +1011,7 @@ static void view3d_main_area_listener(bScreen *sc, ScrArea *sa, ARegion *ar, wmN
|
||||
|
||||
break;
|
||||
case NC_GPENCIL:
|
||||
if (ELEM(wmn->action, NA_EDITED, NA_SELECTED)) {
|
||||
if (wmn->data == ND_DATA || ELEM(wmn->action, NA_EDITED, NA_SELECTED)) {
|
||||
ED_region_tag_redraw(ar);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user