Files
fluencyCAD/main.app/Contents/MacOS/matplotlib/mpl-data/images/subplots-symbolic.svg
bklronin 11d053fda4 Fix sketcher mode handling to prevent unintended line creation during drag operations
Major changes:
- Fixed right-click handler to directly set mode to NONE instead of relying on main app signal handling
- Added safety checks in left-click handler to prevent drawing when no draggable point is found in NONE mode
- Enhanced mode compatibility by treating Python None as SketchMode.NONE in set_mode() method
- Added comprehensive debug logging for mode changes and interaction state tracking
- Resolved integration issue where persistent constraint modes were prematurely reset by main app
- Ensured point dragging is only enabled in NONE mode, preventing accidental polyline creation

This fixes the reported issue where deactivating the line tool would still create lines when dragging,
and ensures proper mode transitions between drawing tools and selection/drag mode.
2025-08-16 22:30:18 +02:00

82 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Created with matplotlib (http://matplotlib.org/) -->
<svg height="72pt" version="1.1" viewBox="0 0 72 72" width="72pt" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<style type="text/css">
*{stroke-linecap:butt;stroke-linejoin:round;}
</style>
</defs>
<g id="figure_1">
<g id="patch_1">
<path d="M 0 72
L 72 72
L 72 0
L 0 0
z
" style="fill:none;opacity:0;"/>
</g>
<g id="text_1">
<path d="M 20.21125 56.873125
L 6.855625 56.873125
L 6.855625 61.72875
L 20.21125 61.72875
z
M 33.566875 52.0175
L 23.855625 52.0175
C 22.5275 52.0175 21.4225 53.111875 21.4225 54.44
L 21.4225 64.161875
C 21.4225 65.49 22.5275 66.584375 23.855625 66.584375
L 33.566875 66.584375
C 34.895 66.584375 36 65.49 36 64.161875
L 36 54.44
C 36 53.111875 34.895 52.0175 33.566875 52.0175
M 39.644375 37.44
L 6.855625 37.44
L 6.855625 42.295625
L 39.644375 42.295625
z
M 15.355625 18.0175
L 6.855625 18.0175
L 6.855625 22.873125
L 15.355625 22.873125
z
M 65.144375 56.873125
L 37.21125 56.873125
L 37.21125 61.72875
L 65.144375 61.72875
z
M 28.71125 13.161875
L 19 13.161875
C 17.671875 13.161875 16.566875 14.25625 16.566875 15.584375
L 16.566875 25.295625
C 16.566875 26.62375 17.671875 27.72875 19 27.72875
L 28.71125 27.72875
C 30.039375 27.72875 31.144375 26.62375 31.144375 25.295625
L 31.144375 15.584375
C 31.144375 14.25625 30.039375 13.161875 28.71125 13.161875
M 53 32.584375
L 43.28875 32.584375
C 41.960625 32.584375 40.855625 33.689375 40.855625 35.0175
L 40.855625 44.72875
C 40.855625 46.056875 41.960625 47.161875 43.28875 47.161875
L 53 47.161875
C 54.328125 47.161875 55.4225 46.056875 55.4225 44.72875
L 55.4225 35.0175
C 55.4225 33.689375 54.328125 32.584375 53 32.584375
M 65.144375 37.44
L 56.644375 37.44
L 56.644375 42.295625
L 65.144375 42.295625
z
M 65.144375 18.0175
L 32.355625 18.0175
L 32.355625 22.873125
L 65.144375 22.873125
z
"/>
</g>
</g>
</svg>