Login  Register

Re: [bugs] problems when using selfmade hatches

Posted by cantcode on Oct 07, 2013; 10:22pm
URL: https://forum.librecad.org/bugs-problems-when-using-selfmade-hatches-tp5708894p5708988.html

WOOOOOOOOOOOOOHHHHHHHHHHOOOOOOOOOOOOOOOOOOOOOOOOOOO,
I don't know why but it looks like I found something.

Looking at the file librecad/src/lib/engine/rs_hatch.cpp line 188, it says:
 copy->rotate(RS_Vector(0.0,0.0), -data.angle);

But when looking at line 237, it says:
te->rotate(RS_Vector(0.0,0.0), data.angle);

So I thought, why not changing that and see what happens ;)
So I changed the line 237 to:
te->rotate(RS_Vector(0.0,0.0), -data.angle);

And now this weird looking arcs just disappeared (needs more testing, did only one test run).