1. 17 Jul, 2017 9 commits
  2. 16 Jul, 2017 9 commits
  3. 15 Jul, 2017 12 commits
  4. 14 Jul, 2017 3 commits
  5. 13 Jul, 2017 3 commits
    • Nicholas LaPointe's avatar
      Fix calculations of source rectangle and selection dimensions when sending data to G'MIC · f80c0940
      Nicholas LaPointe authored
      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
    • Nicholas LaPointe's avatar
      Initialze gmic_qt_get_cropped_images handler's cropRect to a unit square · b609a2a9
      Nicholas LaPointe authored
      prepareCroppedImages() expects normalized coordinates to define the area of an image which will be sent to G'MIC.
      These coordinates are normally retrieved from the message passed from G'MIC to Krita, but in the case of an error, the dimensions of the image were used instead.
      Since the image dimensions are not normalized, this was incorrect.
      This commit causes a unit square to be used when G'MIC didn't send valid coordinates, thus using the full area of the canvas or selection.
    • Nicholas LaPointe's avatar
  6. 12 Jul, 2017 4 commits