forked from youen/assembly_handbook
enabling line rendering by default
This commit is contained in:
parent
8812a6cf86
commit
4d682f5534
@ -27,6 +27,7 @@ class AHB_SetPartStage:
|
|||||||
obj.addProperty("App::PropertyInteger", "AssemblyHandbook_Stage", "AssemblyHandbook")
|
obj.addProperty("App::PropertyInteger", "AssemblyHandbook_Stage", "AssemblyHandbook")
|
||||||
if not "AssemblyHandbook_RenderLines" in obj.PropertiesList:
|
if not "AssemblyHandbook_RenderLines" in obj.PropertiesList:
|
||||||
obj.addProperty("App::PropertyBool", "AssemblyHandbook_RenderLines", "AssemblyHandbook")
|
obj.addProperty("App::PropertyBool", "AssemblyHandbook_RenderLines", "AssemblyHandbook")
|
||||||
|
obj.AssemblyHandbook_RenderLines = True
|
||||||
if obj.AssemblyHandbook_Stage != stageId:
|
if obj.AssemblyHandbook_Stage != stageId:
|
||||||
obj.AssemblyHandbook_Stage = stageId
|
obj.AssemblyHandbook_Stage = stageId
|
||||||
workbench.context.onPartStageChanged(obj)
|
workbench.context.onPartStageChanged(obj)
|
||||||
|
Loading…
Reference in New Issue
Block a user