Arch: Fixed position of BuildingPart label on start
This commit is contained in:
@@ -460,6 +460,7 @@ class ViewProviderBuildingPart:
|
||||
vobj.addProperty("App::PropertyString","OverrideUnit","BuildingPart",QT_TRANSLATE_NOOP("App::Property","An optional unit to express levels"))
|
||||
if not "DisplayOffset" in pl:
|
||||
vobj.addProperty("App::PropertyPlacement","DisplayOffset","BuildingPart",QT_TRANSLATE_NOOP("App::Property","A transformation to apply to the level mark"))
|
||||
vobj.DisplayOffset = FreeCAD.Placement(FreeCAD.Vector(0,0,0),FreeCAD.Rotation(FreeCAD.Vector(1,0,0),90))
|
||||
if not "ShowLevel" in pl:
|
||||
vobj.addProperty("App::PropertyBool","ShowLevel","BuildingPart",QT_TRANSLATE_NOOP("App::Property","If true, show the level"))
|
||||
vobj.ShowLevel = True
|
||||
|
||||
Reference in New Issue
Block a user