mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
@@ -499,7 +499,7 @@ def get_horizontal_profile_preview_data(context, relating_type):
|
|||||||
|
|
||||||
|
|
||||||
def get_generic_product_preview_data(context, relating_type):
|
def get_generic_product_preview_data(context, relating_type):
|
||||||
props = tool.Model.get_model_props()
|
model_props = tool.Model.get_model_props()
|
||||||
if relating_type.is_a("IfcDoorType"):
|
if relating_type.is_a("IfcDoorType"):
|
||||||
rl = float(model_props.rl1)
|
rl = float(model_props.rl1)
|
||||||
elif relating_type.is_a("IfcWindowType"):
|
elif relating_type.is_a("IfcWindowType"):
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ class TestDeleteDrawingElements(NewFile):
|
|||||||
assert False
|
assert False
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
assert not bpy.data.objects["Object"]
|
assert bpy.data.objects.get("Object") is None
|
||||||
|
|
||||||
|
|
||||||
class TestDisableEditingDrawings(NewFile):
|
class TestDisableEditingDrawings(NewFile):
|
||||||
|
|||||||
Reference in New Issue
Block a user