From 4909c02892137ccd6b6ed9ff7f29fa07b6538d94 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Wed, 12 Apr 2017 14:21:54 +0200 Subject: [PATCH] Sketcher: fix incresing bspline degree fails to show new poles --- src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp b/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp index 57a4a842b2..1158a31b37 100644 --- a/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp +++ b/src/Mod/Sketcher/Gui/CommandSketcherBSpline.cpp @@ -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); } }