6 Commits

Author SHA1 Message Date
bklronin
d6044e551a - Improved sketching 2025-11-16 17:48:05 +01:00
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
bklronin
6cf70b9ae2 - Fixed redraw when component changed 2025-04-13 16:40:54 +02:00
bklronin
6ef88925b1 - Added new componnt controls 2024-12-31 00:33:30 +01:00
bklronin
842799b35f - Sketch projection partly works again :) 2024-12-30 13:54:15 +01:00
bklronin
c6f48a6e78 - Fixed 2d sketch with transfrom 2024-07-16 18:02:27 +02:00