Fixed crash when color picking from a group layer
Also fix all the pickers to read from projection() instead of paintDevice(). All nodes in Krita are expected to have projection() which is a visual representation of the node in the stack. The only new behavior this patch introduces is the picking from Filter layers. Now it picks not from their 'selection' (which is a paintDevice()), but from the filtered area cache (projection()). BUG:336473
Showing
- krita/plugins/paintops/defaultpaintops/duplicate/kis_duplicateop.cpp 1 addition, 1 deletion...ns/paintops/defaultpaintops/duplicate/kis_duplicateop.cpp
- krita/plugins/tools/defaulttools/kis_tool_colorpicker.cc 2 additions, 3 deletionskrita/plugins/tools/defaulttools/kis_tool_colorpicker.cc
- krita/ui/tool/kis_tool_paint.cc 2 additions, 10 deletionskrita/ui/tool/kis_tool_paint.cc
Loading
Please register or sign in to comment