mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Small fix to clear wall preview when deleting all polyline points.
This commit is contained in:
@@ -283,6 +283,7 @@ class Polyline(bonsai.core.tool.Polyline):
|
||||
vertices = []
|
||||
polyline_data = context.scene.BIMPolylineProperties.polyline_point
|
||||
if len(polyline_data) < 2:
|
||||
context.scene.BIMPolylineProperties.product_preview.clear()
|
||||
return
|
||||
for point in polyline_data:
|
||||
vertices.append(
|
||||
|
||||
Reference in New Issue
Block a user