From 29b2c9ab6cdde3a1263443a595b2680558bcaa56 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 11 Sep 2015 22:00:25 +0200 Subject: [PATCH] + improve code style --- src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp index 5c5debe53..bb528f630 100644 --- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp +++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp @@ -4223,15 +4223,15 @@ bool ViewProviderSketch::setEdit(int ModNum) // The false parameter indicates that the geometry of the SketchObject shall not be updateData // so as not to trigger an onChanged that would set the document as modified and trigger a recompute // if we just close the sketch without touching anything. - if(getSketchObject()->Support.getValue()) + if (getSketchObject()->Support.getValue()) { if (!getSketchObject()->evaluateSupport()) getSketchObject()->validateExternalLinks(); - + } + getSketchObject()->solve(false); UpdateSolverInformation(); draw(false); - - + connectUndoDocument = Gui::Application::Instance->activeDocument() ->signalUndoDocument.connect(boost::bind(&ViewProviderSketch::slotUndoDocument, this, _1)); connectRedoDocument = Gui::Application::Instance->activeDocument()