Sketcher: New Setting for improved dragging mode
This commit is contained in:
@@ -334,7 +334,6 @@ ViewProviderSketch::ViewProviderSketch()
|
||||
|
||||
//rubberband selection
|
||||
rubberband = new Gui::Rubberband();
|
||||
|
||||
}
|
||||
|
||||
ViewProviderSketch::~ViewProviderSketch()
|
||||
@@ -5257,6 +5256,11 @@ bool ViewProviderSketch::setEdit(int ModNum)
|
||||
connectRedoDocument = Gui::Application::Instance->activeDocument()
|
||||
->signalRedoDocument.connect(boost::bind(&ViewProviderSketch::slotRedoDocument, this, _1));
|
||||
|
||||
// Enable solver initial solution update while dragging.
|
||||
ParameterGrp::handle hGrp2 = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Sketcher");
|
||||
|
||||
getSketchObject()->getSolvedSketch().RecalculateInitialSolutionWhileMovingPoint = hGrp2->GetBool("RecalculateInitialSolutionWhileDragging",true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user