mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
Small fix related to trying to use polyline wall without wall type.
This commit is contained in:
@@ -317,6 +317,8 @@ class DrawPolylineWall(bpy.types.Operator, PolylineOperator):
|
|||||||
def modal(self, context, event):
|
def modal(self, context, event):
|
||||||
if not self.relating_type:
|
if not self.relating_type:
|
||||||
self.report({"WARNING"}, "You need to select a wall type.")
|
self.report({"WARNING"}, "You need to select a wall type.")
|
||||||
|
PolylineDecorator.uninstall()
|
||||||
|
tool.Blender.update_viewport()
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
PolylineDecorator.update(event, self.tool_state, self.input_ui, self.snapping_points[0])
|
PolylineDecorator.update(event, self.tool_state, self.input_ui, self.snapping_points[0])
|
||||||
|
|||||||
Reference in New Issue
Block a user