Changed name of splinePath.

--HG--
branch : develop
This commit is contained in:
dismine 2014-01-17 20:02:24 +02:00
parent 76c24e1c45
commit 8f5cfb7050

View File

@ -44,13 +44,9 @@ void VSplinePath::append(const VSplinePoint &point)
{ {
path.append(point); path.append(point);
_name = QString("SplPath"); _name = QString("SplPath");
for (qint32 i = 1; i <= this->Count(); ++i) for (qint32 i = 0; i < path.size(); ++i)
{ {
VSpline spl = this->GetSpline(i); _name.append(QString("_%1").arg(path[i].P().name()));
VPointF first = spl.GetP1();
VPointF second = spl.GetP4();
QString splName = QString("_%1_%2").arg(first.name(), second.name());
_name.append(splName);
} }
} }