Arch/Wall : allow negative value to Offset property

This commit is contained in:
Jonathan Wiedemann 2015-12-24 03:04:37 +01:00
parent 3bbddc8675
commit 3c0927650d

View File

@ -417,7 +417,7 @@ class _Wall(ArchComponent.Component):
obj.addProperty("App::PropertyEnumeration","Align","Arch",translate("Arch","The alignment of this wall on its base object, if applicable"))
obj.addProperty("App::PropertyVector","Normal","Arch",translate("Arch","The normal extrusion direction of this object (keep (0,0,0) for automatic normal)"))
obj.addProperty("App::PropertyInteger","Face","Arch",translate("Arch","The face number of the base object used to build this wall"))
obj.addProperty("App::PropertyLength","Offset","Arch",translate("Arch","The offset between this wall and its baseline (only for left and right alignments)"))
obj.addProperty("App::PropertyDistance","Offset","Arch",translate("Arch","The offset between this wall and its baseline (only for left and right alignments)"))
obj.Align = ['Left','Right','Center']
obj.Role = Roles
self.Type = "Wall"