Minor fix.

This commit is contained in:
Dion Moult
2020-11-02 11:26:31 +11:00
parent 3bc4e756cb
commit 8660d22476
+20 -29
View File
@@ -580,11 +580,7 @@ class DrawingStyle(PropertyGroup):
name: StringProperty(name="Name") name: StringProperty(name="Name")
raster_style: StringProperty(name="Raster Style") raster_style: StringProperty(name="Raster Style")
render_type: EnumProperty( render_type: EnumProperty(
items=[ items=[("NONE", "None", ""), ("DEFAULT", "Default", ""), ("VIEWPORT", "Viewport", ""),],
("NONE", "None", ""),
("DEFAULT", "Default", ""),
("VIEWPORT", "Viewport", ""),
],
name="Render Type", name="Render Type",
default="VIEWPORT", default="VIEWPORT",
) )
@@ -657,11 +653,7 @@ class BIMTextProperties(PropertyGroup):
name="Font Size", name="Font Size",
) )
symbol: EnumProperty( symbol: EnumProperty(
items=[ items=[("None", "None", ""), ("rectangle-tag", "Rectangle Tag", ""), ("door-tag", "Door Tag", ""),],
("None", "None", ""),
("rectangle-tag", "Rectangle Tag", ""),
("door-tag", "Door Tag", ""),
],
update=refreshFontSize, update=refreshFontSize,
name="Symbol", name="Symbol",
) )
@@ -1443,11 +1435,7 @@ class BIMProperties(PropertyGroup):
name="Temporary Section Cutaway Colour", subtype="COLOR", default=(1, 0, 0), min=0.0, max=1.0 name="Temporary Section Cutaway Colour", subtype="COLOR", default=(1, 0, 0), min=0.0, max=1.0
) )
ifc_import_filter: EnumProperty( ifc_import_filter: EnumProperty(
items=[ items=[("NONE", "None", ""), ("WHITELIST", "Whitelist", ""), ("BLACKLIST", "Blacklist", ""),],
("NONE", "None", ""),
("WHITELIST", "Whitelist", ""),
("BLACKLIST", "Blacklist", ""),
],
name="Import Filter", name="Import Filter",
) )
ifc_selector: StringProperty(default="", name="IFC Selector") ifc_selector: StringProperty(default="", name="IFC Selector")
@@ -1466,26 +1454,29 @@ class BIMProperties(PropertyGroup):
ifc_patch_args: StringProperty(default="", name="Arguments") ifc_patch_args: StringProperty(default="", name="Arguments")
qto_result: StringProperty(default="", name="Qto Result") qto_result: StringProperty(default="", name="Qto Result")
area_unit: EnumProperty( area_unit: EnumProperty(
default="SQUARE_METRE",
items=[ items=[
("square centimeters", "square centimeters", ""), ("MILLI/SQUARE_METRE", "Square Millimetre", ""),
("square foot", "square foot", ""), ("CENTI/SQUARE_METRE", "Square Centimetre", ""),
("square inches", "square inches", ""), ("SQUARE_METRE", "Square Metre", ""),
("square kilometers", "square kilometers", ""), ("KILO/SQUARE_METRE", "Square Kilometre", ""),
("square meters", "square meters", ""), ("square inch", "Square Inch", ""),
("square miles", "square miles", ""), ("square foot", "Square Foot", ""),
("square millimeters", "square millimeters", ""), ("square yard", "Square Yard", ""),
("square yards", "square yards", ""), ("square mile", "Square Mile", ""),
], ],
name="IFC Area Unit", name="IFC Area Unit",
) )
volume_unit: EnumProperty( volume_unit: EnumProperty(
default="CUBIC_METRE",
items=[ items=[
("cubic centimeters", "cubic centimeters", ""), ("MILLI/CUBIC_METRE", "Cubic Millimetre", ""),
("cubic foot", "cubic foot", ""), ("CENTI/CUBIC_METRE", "Cubic Centimetre", ""),
("cubic inches", "cubic inches", ""), ("CUBIC_METRE", "Cubic Metre", ""),
("cubic meters", "cubic meters", ""), ("KILO/CUBIC_METRE", "Cubic Kilometre", ""),
("cubic millimeters", "cubic millimeters", ""), ("cubic inch", "Cubic Inch", ""),
("cubic yards", "cubic yards", ""), ("cubic foot", "Cubic Foot", ""),
("cubic yard", "Cubic Yard", ""),
], ],
name="IFC Volume Unit", name="IFC Volume Unit",
) )