mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-29 03:37:21 +00:00
changed custom scale input
This commit is contained in:
committed by
Dion Moult
parent
169709ed04
commit
73a3cc2cc5
@@ -84,8 +84,14 @@ class BIM_PT_camera(Panel):
|
||||
row = layout.row()
|
||||
row.prop(props, "diagram_scale")
|
||||
if props.diagram_scale == "CUSTOM":
|
||||
row = layout.row()
|
||||
row.prop(props, "custom_diagram_scale")
|
||||
row = layout.row(align=True)
|
||||
row.prop(props, "custom_diagram_scale_input1", text="Custom Scale")
|
||||
if context.scene.unit_settings.system == "IMPERIAL":
|
||||
separator = " ="
|
||||
else:
|
||||
separator = " :"
|
||||
row.label(text=separator)
|
||||
row.prop(props, "custom_diagram_scale_input2", text="")
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.operator("bim.create_drawing", text="Create Drawing", icon="OUTPUT")
|
||||
|
||||
Reference in New Issue
Block a user