Revision: 36728
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36728
Author:   blendix
Date:     2011-05-17 14:18:02 +0000 (Tue, 17 May 2011)
Log Message:
-----------
Cycles: panel header drawing tweak.

Modified Paths:
--------------
    branches/cycles/source/blender/editors/interface/interface_panel.c

Modified: branches/cycles/source/blender/editors/interface/interface_panel.c
===================================================================
--- branches/cycles/source/blender/editors/interface/interface_panel.c  
2011-05-17 09:13:14 UTC (rev 36727)
+++ branches/cycles/source/blender/editors/interface/interface_panel.c  
2011-05-17 14:18:02 UTC (rev 36728)
@@ -494,13 +494,13 @@
        headrect.ymax= headrect.ymin + floor(PNL_HEADER/block->aspect + 0.001f);
        
        {
-               float minx= rect->xmin+5.0f/block->aspect;
-               float maxx= rect->xmax-5.0f/block->aspect;
+               float minx= rect->xmin/block->aspect;
+               float maxx= rect->xmax/block->aspect;
                float y= headrect.ymax;
                
                glEnable(GL_BLEND);
                glColor4f(0.0f, 0.0f, 0.0f, 0.1f);
-               uiSetRoundBox(15);
+               uiSetRoundBox(0);
                uiDrawBox(GL_POLYGON, minx, headrect.ymin, maxx, y+1, 4);
                glDisable(GL_BLEND);
        }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to