Set color for curved path.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-02-18 18:04:27 +02:00
parent f77258ac70
commit 890c87e228

View File

@ -47,6 +47,7 @@ VToolSplinePath::VToolSplinePath(VPattern *doc, VContainer *data, quint32 id, co
:VAbstractSpline(doc, data, id, parent), oldPosition() :VAbstractSpline(doc, data, id, parent), oldPosition()
{ {
sceneType = SceneObject::SplinePath; sceneType = SceneObject::SplinePath;
lineColor = color;
this->setPath(ToolPath()); this->setPath(ToolPath());
this->setPen(QPen(Qt::black, qApp->toPixel(qApp->widthHairLine())/factor)); this->setPen(QPen(Qt::black, qApp->toPixel(qApp->widthHairLine())/factor));