src/editmodes/linePathMode.cpp

changeset 1129
2b20261dc511
parent 1104
edddb9b0db9e
child 1139
51303023d651
equal deleted inserted replaced
1128:67a30f5d159c 1129:2b20261dc511
29 QVector<QPointF> points; 29 QVector<QPointF> points;
30 QList<Vertex> points3d = m_drawedVerts; 30 QList<Vertex> points3d = m_drawedVerts;
31 points3d << renderer()->position3D(); 31 points3d << renderer()->position3D();
32 32
33 for (Vertex const& vrt : points3d) 33 for (Vertex const& vrt : points3d)
34 points << renderer()->convert3dTo2d (vrt); 34 points << renderer()->currentCamera().convert3dTo2d(vrt);
35 35
36 painter.setPen (renderer()->textPen()); 36 painter.setPen (renderer()->textPen());
37 37
38 if (countof(points) == countof(points3d)) 38 if (countof(points) == countof(points3d))
39 { 39 {

mercurial