diff --git a/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp b/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp
index d3cf319e6..d37e136ea 100644
--- a/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp
+++ b/src/libs/vtools/dialogs/tools/dialogseamallowance.cpp
@@ -82,7 +82,7 @@ void DialogSeamAllowance::SetPiece(const VPiece &piece)
{
m_piece = piece;
ui->listWidget->clear();
- for (int i = 0; i < m_piece.CountNode(); ++i)
+ for (int i = 0; i < m_piece.CountNodes(); ++i)
{
NewItem(m_piece.at(i));
}
@@ -134,7 +134,7 @@ void DialogSeamAllowance::ChosenObject(quint32 id, const SceneObject &type)
const VPiece p = CreatePiece();
visPath->SetPiece(p);
- if (p.CountNode() == 1)
+ if (p.CountNodes() == 1)
{
emit ToolTip(tr("Select main path objects clockwise, Shift - reverse direction curve, "
"Enter - finish creation"));
diff --git a/src/libs/vtools/visualization/path/vistoolpiece.cpp b/src/libs/vtools/visualization/path/vistoolpiece.cpp
index f085d8e59..695c9cb9a 100644
--- a/src/libs/vtools/visualization/path/vistoolpiece.cpp
+++ b/src/libs/vtools/visualization/path/vistoolpiece.cpp
@@ -49,7 +49,7 @@ void VisToolPiece::RefreshGeometry()
{
HideAllItems();
- if (m_piece.CountNode() > 0)
+ if (m_piece.CountNodes() > 0)
{
DrawPath(this, m_piece.MainPathPath(Visualization::data), mainColor, Qt::SolidLine, Qt::RoundCap);