mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
@@ -499,7 +499,7 @@ def get_horizontal_profile_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"):
|
||||
rl = float(model_props.rl1)
|
||||
elif relating_type.is_a("IfcWindowType"):
|
||||
|
||||
@@ -108,7 +108,7 @@ class TestDeleteDrawingElements(NewFile):
|
||||
assert False
|
||||
except:
|
||||
pass
|
||||
assert not bpy.data.objects["Object"]
|
||||
assert bpy.data.objects.get("Object") is None
|
||||
|
||||
|
||||
class TestDisableEditingDrawings(NewFile):
|
||||
|
||||
Reference in New Issue
Block a user