+ improve code style
This commit is contained in:
parent
47c0859c1b
commit
29b2c9ab6c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user