mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 15:16:23 +00:00
Fix some cases where wall joining were not working after they were created by polyline tool.
This commit is contained in:
@@ -309,10 +309,10 @@ class DrawPolylineWall(bpy.types.Operator, PolylineOperator):
|
|||||||
if walls:
|
if walls:
|
||||||
if is_polyline_closed:
|
if is_polyline_closed:
|
||||||
for wall1, wall2 in zip(walls, walls[1:] + [walls[0]]):
|
for wall1, wall2 in zip(walls, walls[1:] + [walls[0]]):
|
||||||
DumbWallJoiner().join_V(wall1["obj"], wall2["obj"])
|
DumbWallJoiner().join_V(wall2["obj"], wall1["obj"])
|
||||||
else:
|
else:
|
||||||
for wall1, wall2 in zip(walls[:-1], walls[1:]):
|
for wall1, wall2 in zip(walls[:-1], walls[1:]):
|
||||||
DumbWallJoiner().join_V(wall1["obj"], wall2["obj"])
|
DumbWallJoiner().join_V(wall2["obj"], wall1["obj"])
|
||||||
|
|
||||||
def modal(self, context, event):
|
def modal(self, context, event):
|
||||||
if not self.relating_type:
|
if not self.relating_type:
|
||||||
|
|||||||
Reference in New Issue
Block a user