diff options
author | Severin <eiseljulian@gmail.com> | 2018-06-28 20:49:00 +0300 |
---|---|---|
committer | Severin <eiseljulian@gmail.com> | 2018-06-28 20:51:39 +0300 |
commit | ca8f787349dcdf5f58f5fb950f14c1247d1bbcbf (patch) | |
tree | 27462b1ec87d918b73e6a8e3afbe32b8eb353929 /source/blender/editors/screen | |
parent | a71d53cb1506bd26edb5137caf90bc043dd4631f (diff) |
Fix T55298: Failing assert when splitting areas vertically
There are more related glitches for which I have fixes. Will test them some more
and push in a followup commit.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index c067e5a452d..e1c4962a97b 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -216,7 +216,7 @@ static short testsplitpoint(ScrArea *sa, char dir, float fac) { short x, y; const short area_min_x = AREAMINX; - const short area_min_y = ED_area_headersize(); + const short area_min_y = ED_area_headersize() + 1; // area big enough? if (dir == 'v' && (sa->v4->vec.x - sa->v1->vec.x <= 2 * area_min_x)) return 0; |