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.
@@ -0,0 +1,9 @@
|
||||
This directory contains sample data from scikit-image.
|
||||
|
||||
By default, it only contains a small subset of the entire dataset.
|
||||
|
||||
The full detaset can be downloaded by using the following commands from
|
||||
a python console.
|
||||
|
||||
>>> from skimage.data import download_all
|
||||
>>> download_all()
|
||||
|
After Width: | Height: | Size: 773 KiB |
|
After Width: | Height: | Size: 104 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 235 KiB |
|
After Width: | Height: | Size: 418 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 456 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 213 KiB |
|
After Width: | Height: | Size: 190 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 516 KiB |
|
After Width: | Height: | Size: 467 KiB |
|
After Width: | Height: | Size: 176 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 630 KiB |
|
After Width: | Height: | Size: 625 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 263 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 42 KiB |