[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56819] trunk/blender/source/blender/ editors/screen/area.c: The Area Split/ Merge corner widget was drawing 1 pixel too big, the lines overlapped

Ton Roosendaal ton at blender.org
Wed May 15 14:05:35 CEST 2013


Revision: 56819
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56819
Author:   ton
Date:     2013-05-15 12:05:35 +0000 (Wed, 15 May 2013)
Log Message:
-----------
The Area Split/Merge corner widget was drawing 1 pixel too big, the lines overlapped
the area divider line.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/screen/area.c

Modified: trunk/blender/source/blender/editors/screen/area.c
===================================================================
--- trunk/blender/source/blender/editors/screen/area.c	2013-05-15 11:26:57 UTC (rev 56818)
+++ trunk/blender/source/blender/editors/screen/area.c	2013-05-15 12:05:35 UTC (rev 56819)
@@ -589,8 +589,8 @@
 	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);




More information about the Bf-blender-cvs mailing list