mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
cleanup consistent calling
This commit is contained in:
@@ -274,7 +274,7 @@ class ReferenceUI:
|
|||||||
else:
|
else:
|
||||||
name = reference["Identification"] or "No Identification"
|
name = reference["Identification"] or "No Identification"
|
||||||
row.label(text=name, icon="ASSET_MANAGER")
|
row.label(text=name, icon="ASSET_MANAGER")
|
||||||
row.label(text=reference.get("Name") or "")
|
row.label(text=reference["Name"] or "")
|
||||||
if reference["Location"]:
|
if reference["Location"]:
|
||||||
row.operator("bim.open_uri", icon="URL", text="").uri = reference["Location"]
|
row.operator("bim.open_uri", icon="URL", text="").uri = reference["Location"]
|
||||||
if not self.props.active_reference_id:
|
if not self.props.active_reference_id:
|
||||||
|
|||||||
Reference in New Issue
Block a user