New Draft Snap toolbar

A new toolbar will now appear when using the Draft Snap system (can
be disabled in preferences) allowing to turn snaps on/off globally
or invidually
This commit is contained in:
Yorik van Havre
2012-03-12 17:20:03 -03:00
parent 948b7bfece
commit 3ed0d06aae
20 changed files with 5234 additions and 412 deletions

View File

@@ -70,7 +70,7 @@ class ArchWorkbench(Workbench):
"Draft_Downgrade","Draft_Trimex"]
self.draftcontexttools = ["Draft_ApplyStyle","Draft_ToggleDisplayMode",
"Draft_AddToGroup","Draft_SelectGroup",
"Draft_SelectPlane"]
"Draft_SelectPlane","Draft_ToggleSnap"]
self.meshtools = ["Arch_SplitMesh","Arch_MeshToShape",
"Arch_SelectNonSolidMeshes","Arch_RemoveShape"]
self.appendToolbar(str(DraftTools.translate("arch","Arch tools")),self.archtools)