Update default sun path diagram scale

This commit is contained in:
Furgo
2025-07-15 13:06:41 +02:00
committed by Yorik van Havre
parent 512a22d39b
commit 42b8740133

View File

@@ -791,7 +791,7 @@ class _ViewProviderSite:
vobj.addProperty("App::PropertyBool","SolarDiagram","Site",QT_TRANSLATE_NOOP("App::Property","Show solar diagram or not"), locked=True)
if not "SolarDiagramScale" in pl:
vobj.addProperty("App::PropertyFloat","SolarDiagramScale","Site",QT_TRANSLATE_NOOP("App::Property","The scale of the solar diagram"), locked=True)
vobj.SolarDiagramScale = 1
vobj.SolarDiagramScale = 20000.0 # Default diagram of 20 m radius
if not "SolarDiagramPosition" in pl:
vobj.addProperty("App::PropertyVector","SolarDiagramPosition","Site",QT_TRANSLATE_NOOP("App::Property","The position of the solar diagram"), locked=True)
if not "SolarDiagramColor" in pl: