Login  Register

Re: DXF read gives only points, no lines 2.1.0

Posted by ravas on Jun 20, 2016; 3:28am
URL: https://forum.librecad.org/DXF-read-gives-only-points-no-lines-2-1-0-tp5713964p5713971.html

Your comment about .reset() helped...

It looks like there was some confusion because DRW_Vertex and shared_ptr both have reset()

The following change seems to solve the problem:

v.reset(new DRW_Vertex); //another vertex