[Sketcher] Move general settings widget enable/disable logic in TaskSketcherGeneral so ...
... all options are freely accessible in the preferences editor ... ... eg. no need to check 'Show Grid' to customize grid size or snap Also remove the sparse automatical saving to preferences from sketcher Task pane ... ... (some settings were saved, some not)
This commit is contained in:
committed by
abdullahtahiriyo
parent
3528429363
commit
fece0f2dfc
@@ -2599,7 +2599,7 @@ void ViewProviderSketch::updateColor(void)
|
||||
//int32_t *index = edit->CurveSet->numVertices.startEditing();
|
||||
SbVec3f *pverts = edit->PointsCoordinate->point.startEditing();
|
||||
|
||||
ParameterGrp::handle hGrpp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Sketcher");
|
||||
ParameterGrp::handle hGrpp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Mod/Sketcher/General");
|
||||
|
||||
// 1->Normal Geometry, 2->Construction, 3->External
|
||||
int topid = hGrpp->GetInt("TopRenderGeometryId",1);
|
||||
|
||||
Reference in New Issue
Block a user