mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 12:57:57 +00:00
Fix #5818
This commit is contained in:
@@ -81,7 +81,7 @@ def get_wall_preview_data(context, relating_type):
|
|||||||
unit_system = tool.Drawing.get_unit_system()
|
unit_system = tool.Drawing.get_unit_system()
|
||||||
factor = 1
|
factor = 1
|
||||||
if unit_system == "IMPERIAL":
|
if unit_system == "IMPERIAL":
|
||||||
factor = 3.048
|
factor = 3.28084
|
||||||
if unit_system == "METRIC":
|
if unit_system == "METRIC":
|
||||||
unit_length = context.scene.unit_settings.length_unit
|
unit_length = context.scene.unit_settings.length_unit
|
||||||
if unit_length == "MILLIMETERS":
|
if unit_length == "MILLIMETERS":
|
||||||
|
|||||||
Reference in New Issue
Block a user