[Sketcher] set vertex size for new sketches to preference otherwise … (#26908)
* [Sketcher] set vertex size for new sketches to preference otherwise set to 4px --------- Co-authored-by: Chris Hennes <chennes@gmail.com>
This commit is contained in:
@@ -628,8 +628,11 @@ ViewProviderSketch::ViewProviderSketch()
|
||||
|
||||
VisualLayerList.setValues(std::move(layers));
|
||||
|
||||
// Default values that will be overridden by preferences (if existing)
|
||||
PointSize.setValue(4);
|
||||
ParameterGrp::handle hGrp =
|
||||
App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/View");
|
||||
auto psize = hGrp->GetInt("DefaultShapePointSize", 4L);
|
||||
|
||||
PointSize.setValue(psize);
|
||||
|
||||
// visibility automation and other parameters: update parameter and property defaults to follow
|
||||
// preferences
|
||||
|
||||
Reference in New Issue
Block a user