Added missing copy constructor that prevented tgvpf from working properly.
This commit is contained in:
parent
73c71d24ce
commit
3dff29e8cf
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ Line::Line ()
|
|||
|
||||
Line::Line (const Line &l)
|
||||
{
|
||||
int nPoints = l.getPointCount();
|
||||
for (int i = 0; i < nPoints; i++)
|
||||
addPoint(l.getPoint(i));
|
||||
}
|
||||
|
||||
Line::~Line ()
|
||||
|
|
Loading…
Add table
Reference in a new issue