fix cutting of points

This commit is contained in:
wmayer
2019-09-22 22:58:53 +02:00
parent 88637aeb20
commit 8b9dfab46d
2 changed files with 3 additions and 1 deletions

View File

@@ -299,7 +299,7 @@ void CmdPointsPolyCut::activated(int iMsg)
}
Gui::ViewProvider* pVP = getActiveGuiDocument()->getViewProvider( *it );
pVP->startEditing();
pVP->startEditing(Gui::ViewProvider::Cutting);
}
}

View File

@@ -304,6 +304,8 @@ bool ViewProviderPoints::setEdit(int ModNum)
{
if (ModNum == ViewProvider::Transform)
return ViewProviderGeometryObject::setEdit(ModNum);
else if (ModNum == ViewProvider::Cutting)
return true;
return false;
}