Small fix related to trying to use polyline wall without wall type.

This commit is contained in:
Bruno Perdigão
2024-09-12 17:20:52 -03:00
parent d4ccc0dff9
commit bd51363532
@@ -317,6 +317,8 @@ class DrawPolylineWall(bpy.types.Operator, PolylineOperator):
def modal(self, context, event):
if not self.relating_type:
self.report({"WARNING"}, "You need to select a wall type.")
PolylineDecorator.uninstall()
tool.Blender.update_viewport()
return {"FINISHED"}
PolylineDecorator.update(event, self.tool_state, self.input_ui, self.snapping_points[0])