Re: DXF read gives only points, no lines 2.1.0
Posted by
PCB.Wiz on
Jun 20, 2016; 3:53am
URL: https://forum.librecad.org/DXF-read-gives-only-points-no-lines-2-1-0-tp5713964p5713972.html
ravas wrote
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
That was lucky :)
- there is also a march 23 code which seems around shared pointers, not logic changes, not sure where that is in the mix too...