Sketcher: fix incresing bspline degree fails to show new poles

This commit is contained in:
Abdullah Tahiri
2017-04-12 14:21:54 +02:00
parent c2e83c7818
commit 4909c02892

View File

@@ -469,6 +469,12 @@ void CmdSketcherIncreaseDegree::activated(int iMsg)
Gui::Command::doCommand(
Doc,"App.ActiveDocument.%s.increaseBSplineDegree(%d) ",
selection[0].getFeatName(),GeoId);
// add new control points
Gui::Command::doCommand(Gui::Command::Doc,
"App.ActiveDocument.%s.exposeInternalGeometry(%d)",
selection[0].getFeatName(),
GeoId);
}
}