Core: SoShapeScale fix weird scaling on viewport resize. See https://github.com/FreeCAD/FreeCAD/issues/18382#issuecomment-2527623758
This commit is contained in:
@@ -59,8 +59,9 @@ void ViewProviderPoint::attach(App::DocumentObject * obj) {
|
||||
pCoords->point.setValue(point);
|
||||
sep->addChild(pCoords);
|
||||
|
||||
static const float size = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/View")->GetFloat("DatumPointSize", 2.5);
|
||||
auto sphere = new SoSphere();
|
||||
sphere->radius.setValue(1.0);
|
||||
sphere->radius.setValue(size);
|
||||
sep->addChild(sphere);
|
||||
|
||||
// Add pick style to define how the point can be selected
|
||||
|
||||
Reference in New Issue
Block a user