mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 05:22:06 +00:00
black .
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user