The Area Split/Merge corner widget was drawing 1 pixel too big, the lines overlapped
authorTon Roosendaal <ton@blender.org>
Wed, 15 May 2013 12:05:35 +0000 (12:05 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 15 May 2013 12:05:35 +0000 (12:05 +0000)
the area divider line.

source/blender/editors/screen/area.c

index 1a4e0361018b6e6af0a54d0c062b275a793ae6f6..82ba0568823e6097f8a5850f836afb30f5c24f95 100644 (file)
@@ -589,8 +589,8 @@ static void area_azone_initialize(bScreen *screen, ScrArea *sa)
        az = (AZone *)MEM_callocN(sizeof(AZone), "actionzone");
        BLI_addtail(&(sa->actionzones), az);
        az->type = AZONE_AREA;
-       az->x1 = sa->totrct.xmax + 1;
-       az->y1 = sa->totrct.ymax + 1;
+       az->x1 = sa->totrct.xmax;
+       az->y1 = sa->totrct.ymax;
        az->x2 = sa->totrct.xmax - (AZONESPOT - 1);
        az->y2 = sa->totrct.ymax - (AZONESPOT - 1);
        BLI_rcti_init(&az->rect, az->x1, az->x2, az->y1, az->y2);