Core: SoShapeScale fix weird scaling on viewport resize. See https://github.com/FreeCAD/FreeCAD/issues/18382#issuecomment-2527623758
This commit is contained in:
@@ -79,7 +79,7 @@ void ViewProviderLine::attach(App::DocumentObject *obj) {
|
||||
noRole = true;
|
||||
}
|
||||
|
||||
static const float size = ViewProviderCoordinateSystem::defaultSize();
|
||||
static const float size = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/View")->GetFloat("DatumLineSize", 70.0);
|
||||
|
||||
SbVec3f verts[2];
|
||||
if (noRole) {
|
||||
|
||||
Reference in New Issue
Block a user