Merge pull request #73 from wood-galaxy/arch-wall-negative-offset

Arch/Wall : allow negative value to Offset property
This commit is contained in:
Yorik van Havre 2015-12-26 17:57:57 -02:00
commit 026dc8678c

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"