Login  Register

Re: RS_Painter::toGui crashes

Posted by sand1024 on Mar 18, 2025; 8:14pm
URL: https://forum.librecad.org/RS-Painter-toGui-crashes-tp5726734p5726737.html

the difference occurs when UCS includes rotation in addition to shift.  

Please take a look to my comment in PR - in comments, I've attached a sample file. It includes several UCS's.

You can simply load it and switch between UCS's in the widget.

Something like https://youtu.be/DniuQTr6UCU

I suppose the comment is there: https://github.com/LibreCAD/LibreCAD/pull/2032#issuecomment-2730457541

Plus take a look to several comments up to this.

Also, please note my comment regarding the bounding boxes calculation (in commit to master).