Fix #6067. Bug where adding a door ignored the Z offset option.

This commit is contained in:
Dion Moult
2025-01-30 19:52:33 +11:00
parent af29f264a8
commit d010d4e1b5
@@ -99,7 +99,7 @@ class FilledOpeningGenerator:
if should_set_z_level:
if filling.is_a("IfcDoor"):
new_matrix.translation.z = voided_obj.matrix_world.translation.z
new_matrix.translation.z = voided_obj.matrix_world.translation.z + props.rl1
else:
new_matrix.translation.z = voided_obj.matrix_world.translation.z + props.rl2
else: