Deleting a spot while hovering over one of the circles for adjusting the
radius or feathering could trigger a crash. This is because immediately
after deleting a geometry object, EditSubscriber::getCursor is given an
object ID based on old data, causing the spot tool to attempt to get
information about the deleted geometry object.
This commit fixes the issue by returning the default cursor if the
active spot is -1. It works because the active spot is set to -1 when
deleting a spot, and there is no need to use a special cursor when there
is no active spot.
A better long-term solution would be updating the geometry data before
calling EditSubscriber::getCursor.
* Added Guidedfilter to avoid color shift
* Various improvment to avoid color shift
* Small change to mint maxt
* local adjustments avoid color shift: reduce memory usage by width * height * 8 byte if Soft Radius > 0
* Remove StopWatch
* local adjustments avoid color shift: speedup for last loop
* cleanups
* one more cleanup
* Added checkbox Munsell correction only - uniform perceptual lab
* Refine some settings
* Clean-up - other small refinement
Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
* [cmake] Switch to find_package for TIFF
- Included in cmake 3.5 and later
- Provides better configuration messages
* Add missing TIFF library to rtgui and rtexif
* Removed unnecessary quotes so that cmake sees the list as a list
* Add OpenMP to rtengine if OpenMP is enabled
Found via `codespell -q 3 -S ./rtdata/languages -L ba,bord,childs,hist,fo,reall,bloc,alph,dof,inout,thre,makro,chang,currentry,preserv,portugues,struc,trough,vektor,`
* Make some more files cppcheck clean
* revert change of dcrop.cc from last commit
* Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))
* Revert "Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))"
This reverts commit d639c67249f1723fa9f9e55e0442afcb862eba91.
* make improcfun.cc cppcheck clean
* improcfun.cc: add -Wdouble-promotion to stay clean about this warning in future, because we are clean about it atm
* improcfun.cc: some cleanups, now this file is -Wextra clean. Let's keep it clean...
* improcfun.cc : Fix LGTM alert
* iplocallab.cc: some cppcheck fixes, also some cleanups and speedups, #6119
* iplocallab.cc: fix remainig cppcheck issues. Now this file is cppcheck clean, #6119
* make iplocallab.cc -Wdouble-promotion clean, #6119
* Fix compilatio issue
* Fix compilation issue
* Fixed artifacts thanks to Alberto
* Added blur to Color propagation
* Clean format code - small improvments
* color propagation: Enable old mode at blur = 0
* Improve GUI
* color propagation: smooth progress bar for blur > 0
* change label
* Some cleanups
* color propagation: small speedup for blur > 0
* color propagation: speedup for blur > 0 when region with clipped highlights is small
* Speed-up for blur=1 - clean GUI code
* color propagation: cleanups
* Harmonize events in tonecurve.cc
* tonecurve.cc : cleanup
* Highlight reconstruction: small changes to gui
* Use Gtk::Box instead of Gtk::VBox
* Change maximum number of blur levels to 4
* Suppress BENCHFUN
* Suppress bad commit locallabtools
Co-authored-by: Desmis <jdesmis@gmail.com>
Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>