Fix #139903: Don't Check Minimum Size for Areas Not Yet Initiated
New windows with new areas have all their dimensions sized before they are fully initialized (prior to ED_area_init). No need to check their minimum size in this state. Pull Request: https://projects.blender.org/blender/blender/pulls/139908
This commit is contained in:
committed by
Harley Acheson
parent
1eadfb1fbf
commit
66763dc6d5
@@ -213,7 +213,7 @@ static bool screen_geom_vertices_scale_pass(const wmWindow *win,
|
||||
if (area->v1->vec.y > screen_rect->ymin) {
|
||||
min += border_width;
|
||||
}
|
||||
if (area->winy < min) {
|
||||
if (area->winy && (area->winy < min)) {
|
||||
/* lower edge */
|
||||
ScrEdge *se = BKE_screen_find_edge(screen, area->v4, area->v1);
|
||||
if (se && area->v1 != area->v2) {
|
||||
|
||||
Reference in New Issue
Block a user