Login  Register

Re: Segmentation fault in RS_EntityContainer::optimizeContours()

Posted by dxli on Apr 22, 2012; 3:36am
URL: https://forum.librecad.org/Segmentation-fault-in-RS-EntityContainer-optimizeContours-tp5651061p5657028.html

Hi Erik,

I digged a little bit more on the cause of NULL pointers. It seems to be requirement of visible entities when searching for the nearest endpoint. https://github.com/LibreCAD/LibreCAD/commit/a4006c521122d3e5524e2999c8024c949c683a83

We'd better cleanup the current algorithm. After that, we need to enable a smart contour detection (flood fill), enable hatch creation for ellipse border.

I do hope we can work together to make LibreCAD better.

Regards,

Dongxu

On Fri, Apr 20, 2012 at 12:12 PM, Erik [via LibreCAD] <[hidden email]> wrote:
Hello,

I send the pull request now.

Tanks a lot.

Erik


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Segmentation-fault-in-RS-EntityContainer-optimizeContours-tp5651061p5654663.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.
NAML



--
Dongxu Li, Ph.D.
www.librecad.org