1. 05 Sep, 2019 1 commit
  2. 04 Sep, 2019 2 commits
    • Wolthera van Hövell's avatar
      Possibly fix File Layer loading and comics manager page updating on windows. · ff338de7
      Wolthera van Hövell authored
      Windows has a pretty slow file system, which means when we check whether
      our updated file exists, windows hasn't gotten to renaming it yet, making
      Krita think there's no file at all...
      
      So this puts a little bit of a delay in our two checks of whether the file still
      exists and needs to be readded to the filesystemwatcher again.
      
      This currently works as expected on Linux, now we need to test if it works
      on Windows.
      
      CCBUG:410409
      CCBUG:389544
      ff338de7
    • Boudewijn Rempt's avatar
      Fix memory leak · 7bdebbc0
      Boudewijn Rempt authored
      Since these two actions aren't added to any menu or action registry,
      they are dangling and need a parent
      7bdebbc0
  3. 03 Sep, 2019 1 commit
    • Boudewijn Rempt's avatar
      Cache the profiles when loading layers · 87e056eb
      Boudewijn Rempt authored
      When loading an image with a reasonable amount of layers, loading
      and creating the profile for each layer isn't really noticable, but
      if there are thousands and thousands of layers, it's a major drag
      on loading kra files.
      
      And it's very likely that every layer has the same profile _anyway_.
      
      This makes loading the sample files from https://bugs.kde.org/show_bug.cgi?id=411532
      mucht faster.
      
      BUG:411532
      87e056eb
  4. 02 Sep, 2019 7 commits
  5. 31 Aug, 2019 3 commits
  6. 30 Aug, 2019 2 commits
  7. 29 Aug, 2019 4 commits
  8. 28 Aug, 2019 1 commit
  9. 27 Aug, 2019 3 commits
  10. 26 Aug, 2019 1 commit
    • Dmitry Kazakov's avatar
      Fix shearing Ellipse and Concentric Ellipse assistants · 7b54e6e2
      Dmitry Kazakov authored
      Ellipses are rather tricky to transform, they main axes change
      non-uniformly during shear operation, so a special handling is needed.
      
      This approach uses matric representation of an ellipse equation to
      get new axes values. We just decompose the matrix into diagonal
      matrix of eigen values and a orthogonal rotation matrix using Eigen
      library. The solution might be not the easiest one, but it works :)
      7b54e6e2
  11. 22 Aug, 2019 3 commits
  12. 21 Aug, 2019 1 commit
    • Ivan Yossi's avatar
      Fix update auto precision level on brush resize. · f54aaece
      Ivan Yossi authored
      This commit adds the proper call to update precision on resize during
      dab cache fetch. It also adds signals to update the String in Gui if the
      user changes Size of brush while auto precision is activated.
      
      BUG:408052
      f54aaece
  13. 19 Aug, 2019 3 commits
  14. 17 Aug, 2019 1 commit
  15. 16 Aug, 2019 2 commits
  16. 15 Aug, 2019 1 commit
    • Agata Cacko's avatar
      Fix Strength not used in Rotation - Fuzzy Dab · 3602c724
      Agata Cacko authored
      Before this commit, if you chose Fuzzy Dab sensor
      in Rotation option, the value of the Strength slider wouldn't
      affect the resulting rotation of the brush tip.
      This commit fixes that behaviour: now if you choose very low
      Strength and the first curve from the template ones,
      the brush tip will rotate only slightly (before it would rotate
      within the full 360* range).
      
      * Fuzzy Dab is 'additive' kind of sensor, so it's value would be put
      in 'realAdditivePart' in rotationLikeValue(). 'constant' contains the
      value of 'Strength' slider. To get it working together,
      'realAdditivePart' had to be multiplied by the 'constant' value.
      
      * HSV option just ignored the problem and multiplied it by the value of
      the slider later. It couldn't be done for Rotation because Rotation
      takes the canvas rotation into account (see rotationLikeValue).
      Therefore it had to be done inside rotationLikeValue function, not
      later. Therefore the multiplication in HSV option had to be disabled
      to not double the effect.
      
      BUG:376179
      BACKPORT:krita/4.2
      3602c724
  17. 14 Aug, 2019 2 commits
    • Agata Cacko's avatar
      Fix curve change despite 'Use same curve' checked · 47a57162
      Agata Cacko authored
      Before this commit, if you have a preset like Fill_circle
      that has "Use the same curve" checkbox checked and you were
      clicking on other sensors, the curve would be back to the default
      curve (the one that other sensors had) if you switch back and forth
      between some sensors (like Pressure -> X-Tilt-> Pressure).
      
      Also before this commit if you have the default uprising curve
      and you switched Rotation -> Tilt elevation, the curve would change.
      
      This commit fixes both behaviours (first by adding transferCurve(),
      second by switching the line in kis_curve_widget).
      
      This commit also includes two slot functions instead of one function
      that were used as a slot for two different signals. It helps with
      debugging signals and keeping stuff clear and ordered.
      
      There is one problem left: if you switch Tilt elevation -> Distance
      (using the 'hill' curve), the preset is set to modified even though
      the curve doesn't change.
      
      BUG:383909
      BACKPORT:krita/4.2
      47a57162
    • Dmitry Kazakov's avatar
      Fix Shift and Alt modifiers in OUtline Selection Tool · bd06296f
      Dmitry Kazakov authored
      We should pass the keys to the tool, even when it is not active
      to make sure its keyPress/keyRelease methods work fine. To make
      it works we need to initialize the environment correctly in
      KisToolInvocationAction::processUnhandledEvent;
      
      BUG:410532
      BACKPORT:krita/4.2
      bd06296f
  18. 13 Aug, 2019 2 commits