mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Fix bug where demolition animations were not generated properly.
This commit is contained in:
@@ -103,7 +103,11 @@ def prop_is_value(prop, value):
|
||||
exec(f"assert bpy.context.{prop} == {value}")
|
||||
is_value = True
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
exec(f"assert list(bpy.context.{prop}) == {value}")
|
||||
is_value = True
|
||||
except:
|
||||
pass
|
||||
if not is_value:
|
||||
actual_value = eval(f"bpy.context.{prop}")
|
||||
assert False, f"Value is {actual_value}"
|
||||
|
||||
Reference in New Issue
Block a user