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.
BIN
main.app/Contents/MacOS/skimage/_shared/geometry.so
Normal file
BIN
main.app/Contents/MacOS/skimage/_shared/interpolation.so
Normal file
BIN
main.app/Contents/MacOS/skimage/_shared/transform.so
Normal file
9
main.app/Contents/MacOS/skimage/data/README.txt
Normal file
@@ -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()
|
||||
BIN
main.app/Contents/MacOS/skimage/data/astronaut.png
Normal file
|
After Width: | Height: | Size: 773 KiB |
BIN
main.app/Contents/MacOS/skimage/data/brick.png
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
main.app/Contents/MacOS/skimage/data/camera.png
Normal file
|
After Width: | Height: | Size: 136 KiB |
BIN
main.app/Contents/MacOS/skimage/data/cell.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
main.app/Contents/MacOS/skimage/data/chelsea.png
Normal file
|
After Width: | Height: | Size: 235 KiB |
BIN
main.app/Contents/MacOS/skimage/data/chessboard_GRAY.png
Normal file
|
After Width: | Height: | Size: 418 B |
BIN
main.app/Contents/MacOS/skimage/data/chessboard_RGB.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
main.app/Contents/MacOS/skimage/data/clock_motion.png
Normal file
|
After Width: | Height: | Size: 57 KiB |
BIN
main.app/Contents/MacOS/skimage/data/coffee.png
Normal file
|
After Width: | Height: | Size: 456 KiB |
BIN
main.app/Contents/MacOS/skimage/data/coins.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
main.app/Contents/MacOS/skimage/data/color.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
main.app/Contents/MacOS/skimage/data/grass.png
Normal file
|
After Width: | Height: | Size: 213 KiB |
BIN
main.app/Contents/MacOS/skimage/data/gravel.png
Normal file
|
After Width: | Height: | Size: 190 KiB |
BIN
main.app/Contents/MacOS/skimage/data/horse.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
main.app/Contents/MacOS/skimage/data/hubble_deep_field.jpg
Normal file
|
After Width: | Height: | Size: 516 KiB |
BIN
main.app/Contents/MacOS/skimage/data/ihc.png
Normal file
|
After Width: | Height: | Size: 467 KiB |
BIN
main.app/Contents/MacOS/skimage/data/lfw_subset.npy
Normal file
BIN
main.app/Contents/MacOS/skimage/data/logo.png
Normal file
|
After Width: | Height: | Size: 176 KiB |
BIN
main.app/Contents/MacOS/skimage/data/microaneurysms.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
main.app/Contents/MacOS/skimage/data/moon.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
main.app/Contents/MacOS/skimage/data/motorcycle_disp.npz
Normal file
BIN
main.app/Contents/MacOS/skimage/data/motorcycle_left.png
Normal file
|
After Width: | Height: | Size: 630 KiB |
BIN
main.app/Contents/MacOS/skimage/data/motorcycle_right.png
Normal file
|
After Width: | Height: | Size: 625 KiB |
BIN
main.app/Contents/MacOS/skimage/data/multipage.tif
Normal file
BIN
main.app/Contents/MacOS/skimage/data/no_time_for_that_tiny.gif
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
main.app/Contents/MacOS/skimage/data/page.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
main.app/Contents/MacOS/skimage/data/phantom.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
main.app/Contents/MacOS/skimage/data/retina.jpg
Normal file
|
After Width: | Height: | Size: 263 KiB |
BIN
main.app/Contents/MacOS/skimage/data/rocket.jpg
Normal file
|
After Width: | Height: | Size: 110 KiB |
BIN
main.app/Contents/MacOS/skimage/data/text.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
main.app/Contents/MacOS/skimage/io/_plugins/_histograms.so
Normal file
@@ -0,0 +1,3 @@
|
||||
[fits]
|
||||
description = FITS image reading via PyFITS
|
||||
provides = imread, imread_collection
|
||||
@@ -0,0 +1,3 @@
|
||||
[gdal]
|
||||
description = Image reading via the GDAL Library (www.gdal.org)
|
||||
provides = imread
|
||||
@@ -0,0 +1,3 @@
|
||||
[imageio]
|
||||
description = Image reading via the ImageIO Library
|
||||
provides = imread, imsave
|
||||
@@ -0,0 +1,3 @@
|
||||
[imread]
|
||||
description = Image reading and writing via imread
|
||||
provides = imread, imsave
|
||||
@@ -0,0 +1,3 @@
|
||||
[matplotlib]
|
||||
description = Display or save images using Matplotlib
|
||||
provides = imshow, imread, imshow_collection, _app_show
|
||||
@@ -0,0 +1,3 @@
|
||||
[pil]
|
||||
description = Image reading via the Python Imaging Library
|
||||
provides = imread, imsave
|
||||
@@ -0,0 +1,3 @@
|
||||
[simpleitk]
|
||||
description = Image reading and writing via SimpleITK
|
||||
provides = imread, imsave
|
||||
@@ -0,0 +1,3 @@
|
||||
[tifffile]
|
||||
description = Load and save TIFF and TIFF-based images using tifffile.py
|
||||
provides = imread, imsave
|
||||