1. 13 Sep, 2019 5 commits
    • Agata Cacko's avatar
      Fix curve changing with sensors w/ Use Same Curve · 542da22b
      Agata Cacko authored
      Before this commit, curve would change semi-randomly in some cases
      if you change from some specific sensors to some other specific sensors
      (having a complex curve and clicking randomly should show a bug though)
      when "Share curve across all settings" is selected.
      This commit fixes that behaviour.
      
      BUG:383909
      CCBUG:410158
      542da22b
    • Agata Cacko's avatar
      Replace cache with a new variable in curve option · 43c2bad8
      Agata Cacko authored
      Before this commit, "Use the same curve" (precisely,
      "Share curve across all settings") was done using
      (1) rewriting values in sensors to the selected curve
      (2) cached curves for all the sensors in case the user changes
      their mind and wants the previous ones.
      
      This behaviour brings confusion and is hard to debug, hence
      the change.
      
      This commit adds a new separate variable that keeps the
      "common curve", so all sensors has their own curves.
      There is no need for caching or restoring, it just needs
      to be clear that when the Use The Same Curve checkbox is
      checked, the value from the common curve needs to be taken
      instead of the curve from the sensor in question.
      43c2bad8
    • Dmitry Kazakov's avatar
      Fix crash when Colorize Tool is active on closing Krita · 78ea95b5
      Dmitry Kazakov authored
      Steps to reproduce:
      1) Create a layer with colorize mask
      2) Disable "Show key strokes" on the mask (important)
      3) Select "Colorize Tool"
      4) Click on the mask, to lazily activate key strokes
      5) Close Krita -> Crash
      
      The crash happened because of some weird update signals coming
      after KisView was actually destroyed.
      78ea95b5
    • Dmitry Kazakov's avatar
      Set "Show in Timeline" to "on" by default · 3def70fa
      Dmitry Kazakov authored
      During the sprint we discussed that with painters and they said that
      it would be much easier for them if all the layers would be visible
      in the timeline by default. If the user can always hide a layer if
      he likes.
      
      CC:kimageshop@kde.org
      3def70fa
    • Dmitry Kazakov's avatar
      Fix using user-setting for Region of Interest Margin · 38480887
      Dmitry Kazakov authored
      The setting was present in KisImageConfig, but was never used in the
      code itself.
      38480887
  2. 12 Sep, 2019 35 commits