mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Fix #6185 issue when trying to create a slab with only two points.
This commit is contained in:
@@ -885,6 +885,8 @@ class DrawPolylineSlab(bpy.types.Operator, PolylineOperator, tool.Ifc.Operator):
|
||||
return {"FINISHED"}
|
||||
|
||||
slab = DumbSlabGenerator(self.relating_type).generate("POLYLINE")
|
||||
if not slab:
|
||||
return
|
||||
|
||||
model_props = tool.Model.get_model_props()
|
||||
direction_sense = model_props.direction_sense
|
||||
|
||||
Reference in New Issue
Block a user