On Fri, Jun 22, 2007 at 12:05:11AM -0400, Ed Richley wrote:
> 
> In gtkinit.py, lines 1329-1330 should read:
> 
>         _pxmin = _pvx - _pr
>         _pymin = _pvy - _pr
>  
> For proper angular dimensioning to take place. At least, it works a whole
> lot better than when it said:
> 
>         _pxmin = _px - _pr
>         _pymin = _py - _pr
> 
> because _px and _py apparently didn't exist.
> 
> I must be learning something. I fixed a bug.

Nice catch. This bit of code uses the older GTK+/GDK routine to draw
and the bug wouldn't be seen on newer systems utilizing the Cairo
drawing routines.

I've applied your patch. Thanks!

Art Haas
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822
_______________________________________________
PythonCAD mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pythoncad

Reply via email to