Minor fix

This commit is contained in:
Dion Moult
2023-03-27 13:38:14 +11:00
parent e9a3630595
commit bdb193f500
3 changed files with 7 additions and 7 deletions
@@ -723,7 +723,7 @@ class OverrideModeSetObject(bpy.types.Operator):
bpy.ops.object.mode_set(mode="EDIT", toggle=True)
if not tool.Ifc.get():
return
return {"FINISHED"}
objs = context.selected_objects or [context.active_object]
+4 -4
View File
@@ -78,10 +78,10 @@ class Ids:
def asdict(self):
ids_dict = {
"@xmlns": "https://standards.buildingsmart.org/IDS",
"@xmlns:xs": "https://www.w3.org/2001/XMLSchema",
"@xmlns:xsi": "https://www.w3.org/2001/XMLSchema-instance",
"@xsi:schemaLocation": "https://standards.buildingsmart.org/IDS/ids_09.xsd",
"@xmlns": "http://standards.buildingsmart.org/IDS",
"@xmlns:xs": "http://www.w3.org/2001/XMLSchema",
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
"@xsi:schemaLocation": "http://standards.buildingsmart.org/IDS/ids_09.xsd",
"info": self.info,
"specifications": {"specification": []},
}
+2 -2
View File
@@ -92,7 +92,7 @@
</xs:sequence>
<xs:attribute name="measure" type="xs:string">
<xs:annotation>
<xs:documentation>This is the name of an IFC Defined Types. See the documentation and default units on https://github.com/buildingSMART/IDS/blob/master/Documentation/Physical_Quantities_and_Units.md</xs:documentation>
<xs:documentation>This is the name of an IFC Defined Types. See the documentation and default units on https://github.com/buildingSMART/IDS/blob/master/Documentation/units.md</xs:documentation>
</xs:annotation>
<!-- there is a request to make this an ids:value -->
</xs:attribute>
@@ -248,4 +248,4 @@
<xs:enumeration value="IfcRelNests"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
</xs:schema>