| Summary: | (gmic-qt) Problems with layer dimension and position calculations | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Nicholas LaPointe <nicholaslapointe8> |
| Component: | G'Mic for Krita | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/krita/2fe25907c8e022835f2adb2532e61b65500c2ed2 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Demo file | ||
|
Description
Nicholas LaPointe
2017-06-27 15:58:43 UTC
Git commit f80c0940d1e1bd94fa137f35510fe4f877c2d227 by Nicholas LaPointe. Committed on 13/07/2017 at 01:12. Pushed by nicholasl into branch 'master'. Fix calculations of source rectangle and selection dimensions when sending data to G'MIC When there was no selection, the old plug-in would read and write pixels within the rectangle (0,0 canvasWidth x canvasHeight). The new plug-in was still set up to do this, except it would send the rectangle (0,0 layerWidth x layerHeight) to G'MIC. When there was a selection in the old plug-in, it would read and write within the selection rectangle. The new plug-in would read using (0,0 layerWidth x layerHeight), then write inside the selection rectangle. This commit should reinstate the old behavior. Differential Revision: https://phabricator.kde.org/D6431 M +28 -12 plugins/extensions/qmic/QMic.cpp https://commits.kde.org/krita/f80c0940d1e1bd94fa137f35510fe4f877c2d227 Git commit 2fe25907c8e022835f2adb2532e61b65500c2ed2 by Nicholas LaPointe. Committed on 16/07/2017 at 06:23. Pushed by nicholasl into branch 'krita/3.2'. Fix calculations of source rectangle and selection dimensions when sending data to G'MIC When there was no selection, the old plug-in would read and write pixels within the rectangle (0,0 canvasWidth x canvasHeight). The new plug-in was still set up to do this, except it would send the rectangle (0,0 layerWidth x layerHeight) to G'MIC. When there was a selection in the old plug-in, it would read and write within the selection rectangle. The new plug-in would read using (0,0 layerWidth x layerHeight), then write inside the selection rectangle. This commit should reinstate the old behavior. Differential Revision: https://phabricator.kde.org/D6431 M +28 -12 plugins/extensions/qmic/QMic.cpp https://commits.kde.org/krita/2fe25907c8e022835f2adb2532e61b65500c2ed2 |