Core: SoShapeScale fix weird scaling on viewport resize. See https://github.com/FreeCAD/FreeCAD/issues/18382#issuecomment-2527623758
This commit is contained in:
@@ -999,7 +999,7 @@ class ViewProviderGroundedJoint:
|
||||
if groundedObj is None:
|
||||
return
|
||||
|
||||
self.scaleFactor = 1.5
|
||||
self.scaleFactor = 3.0
|
||||
|
||||
lockpadColorInt = Preferences.preferences().GetUnsigned("AssemblyConstraints", 0xCC333300)
|
||||
self.lockpadColor = coin.SoBaseColor()
|
||||
|
||||
@@ -43,7 +43,7 @@ class SoSwitchMarker(coin.SoSwitch):
|
||||
super().__init__() # Initialize the SoSwitch base class
|
||||
|
||||
self.axis_thickness = 3
|
||||
self.scaleFactor = 20
|
||||
self.scaleFactor = 40
|
||||
|
||||
view_params = App.ParamGet("User parameter:BaseApp/Preferences/View")
|
||||
param_x_axis_color = view_params.GetUnsigned("AxisXColor", 0xCC333300)
|
||||
|
||||
Reference in New Issue
Block a user