WIP: Added possibility to change plane intersection method

This commit is contained in:
Bruno Perdigão
2024-08-13 17:36:24 -03:00
committed by Bruno Perdigão
parent 315b6060b0
commit aff5b238d9
@@ -2349,6 +2349,11 @@ class MeasureTool(bpy.types.Operator):
tool.Snap.remove_last_polyline_point()
tool.Blender.update_viewport()
if event.shift and event.type == "Z":
tool.Snap.set_use_default_container(False)
WallPolylineDecorator.set_use_default_container(False)
tool.Snap.set_snap_plane_method('XY')
if event.value == "RELEASE" and event.type in {"RIGHTMOUSE", "ESC"}:
WallPolylineDecorator.uninstall()
tool.Snap.clear_polyline()