This commit is contained in:
Andrej730
2025-03-14 16:33:28 +05:00
parent 069b630b16
commit 10ecac33b8
3 changed files with 3 additions and 4 deletions
@@ -850,7 +850,6 @@ class PolylineOperator:
tool.Polyline.remove_last_polyline_point() tool.Polyline.remove_last_polyline_point()
tool.Blender.update_viewport() tool.Blender.update_viewport()
def handle_snap_selection(self, context: bpy.types.Context, event: bpy.types.Event) -> None: def handle_snap_selection(self, context: bpy.types.Context, event: bpy.types.Event) -> None:
if not self.tool_state.is_input_on and event.value == "PRESS" and event.type == "M": if not self.tool_state.is_input_on and event.value == "PRESS" and event.type == "M":
self.snapping_points = tool.Snap.modify_snapping_point_selection( self.snapping_points = tool.Snap.modify_snapping_point_selection(
@@ -2718,7 +2718,7 @@ class MeasureFaceAreaTool(bpy.types.Operator, PolylineOperator):
custom_instructions = { custom_instructions = {
"Select Face": {"icons": True, "keys": ["MOUSE_LMB"]}, "Select Face": {"icons": True, "keys": ["MOUSE_LMB"]},
"Deselect Face": {"icons": True, "keys": ["EVENT_SHIFT", "MOUSE_LMB"]} "Deselect Face": {"icons": True, "keys": ["EVENT_SHIFT", "MOUSE_LMB"]},
} }
custom_info = [] custom_info = []
self.handle_instructions(context, custom_instructions, custom_info, overwrite=True) self.handle_instructions(context, custom_instructions, custom_info, overwrite=True)