mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
Minor fix in wall creation code
This commit is contained in:
@@ -589,7 +589,7 @@ class DumbWallGenerator:
|
|||||||
matrix_world = Matrix.Rotation(self.rotation, 4, "Z")
|
matrix_world = Matrix.Rotation(self.rotation, 4, "Z")
|
||||||
matrix_world.translation = self.location
|
matrix_world.translation = self.location
|
||||||
if self.collection_obj and self.collection_obj.BIMObjectProperties.ifc_definition_id:
|
if self.collection_obj and self.collection_obj.BIMObjectProperties.ifc_definition_id:
|
||||||
matrix_world.location.z = self.collection_obj.location.z + props.rl1
|
matrix_world.translation.z = self.collection_obj.location.z + props.rl1
|
||||||
obj.matrix_world = matrix_world
|
obj.matrix_world = matrix_world
|
||||||
bpy.context.view_layer.update()
|
bpy.context.view_layer.update()
|
||||||
self.collection.objects.link(obj)
|
self.collection.objects.link(obj)
|
||||||
|
|||||||
Reference in New Issue
Block a user