Fixed the mask size returned by KisImagePipeBrush
There are two fixes: 1) Now we switch the brush after painting the dab, not before. Otherwise the dab size is unknown. 2) Mask size is returned using the current brush values. BUG:295464
Showing
- krita/plugins/paintops/libbrush/kis_brush.cpp 23 additions, 15 deletionskrita/plugins/paintops/libbrush/kis_brush.cpp
- krita/plugins/paintops/libbrush/kis_brush.h 6 additions, 5 deletionskrita/plugins/paintops/libbrush/kis_brush.h
- krita/plugins/paintops/libbrush/kis_imagepipe_brush.cpp 50 additions, 25 deletionskrita/plugins/paintops/libbrush/kis_imagepipe_brush.cpp
- krita/plugins/paintops/libbrush/kis_imagepipe_brush.h 10 additions, 4 deletionskrita/plugins/paintops/libbrush/kis_imagepipe_brush.h
- krita/plugins/paintops/libbrush/tests/CMakeLists.txt 6 additions, 0 deletionskrita/plugins/paintops/libbrush/tests/CMakeLists.txt
- krita/plugins/paintops/libbrush/tests/data/C_Dirty_Spot.gih 0 additions, 0 deletionskrita/plugins/paintops/libbrush/tests/data/C_Dirty_Spot.gih
- krita/plugins/paintops/libbrush/tests/kis_imagepipe_brush_test.cpp 150 additions, 0 deletions...gins/paintops/libbrush/tests/kis_imagepipe_brush_test.cpp
- krita/plugins/paintops/libbrush/tests/kis_imagepipe_brush_test.h 38 additions, 0 deletions...lugins/paintops/libbrush/tests/kis_imagepipe_brush_test.h
Loading
Please register or sign in to comment