Draft: Scale widget did not handle FEM unit system
The FEM UserSchema (8) was not handled by the code.
This commit is contained in:
@@ -78,12 +78,12 @@ def get_scales(unit_system = 0):
|
||||
|
||||
if unit_system == 0:
|
||||
scale_units_system = params.get_param("UserSchema", path="Units")
|
||||
if scale_units_system in [0, 1, 4, 6]:
|
||||
return draft_scales_metrics
|
||||
elif scale_units_system in [2, 3, 5]:
|
||||
if scale_units_system in [2, 3, 5]:
|
||||
return draft_scales_arch_imperial
|
||||
elif scale_units_system in [7]:
|
||||
return draft_scales_eng_imperial
|
||||
else:
|
||||
return draft_scales_metrics
|
||||
elif unit_system == 1:
|
||||
return draft_scales_metrics
|
||||
elif unit_system == 2:
|
||||
|
||||
Reference in New Issue
Block a user