1. 10 Jun, 2021 1 commit
  2. 09 Jun, 2021 17 commits
    • Dmitry Kazakov's avatar
      Fix updates when transforming a group layer with a tranparency mask · 607fca8d
      Dmitry Kazakov authored
      Before the patch, the updates were issues by individual transformation
      commands, that leads to weird results when the group is under an effect
      of a transparency mask. So now the updates are gathered in buckets and
      are emitted all at once.
      
      The patch is still a bit clumsy, because undo/redo do not call
      image->disableDirtyRequests()/enableDirtyRequests(), whereas the
      main transformation action does. Though it shouldn't cause too many
      issues, just a bit more updates than needed. It will still be better
      than before.
      
      BUG:431756
      607fca8d
    • Dmitry Kazakov's avatar
    • Dmitry Kazakov's avatar
      Fix initialization of the user preferences in the transform tool · fe682676
      Dmitry Kazakov authored
      We cannot read settings in the contructor, because the toolId() is
      not yet available (due to the absence of factory() pointer set).
      
      So the patch moves this initialization into activate() method,
      which is mode stable.
      
      BUG:435255
      fe682676
    • Agata Cacko's avatar
      Fix duplicate mask in Gamut Masks docker · 66358f1b
      Agata Cacko authored
      Before this commit, duplicating a mask would just edit the old one.
      That's because the resource id wasn't reset to -1 after cloning.
      This commit ensures the resource id is reset, so later
      it won't be able to find the resource in the resource model
      and it will add it to Krita as a new resource.
      
      BUG:438033
      66358f1b
    • Agata Cacko's avatar
      Fix saving new gamut masks · 1269be2c
      Agata Cacko authored
      Before this commit, gamut masks docker would use
      KoResourceServer to manage resources, and always add the gamut
      mask as a new resource, even if it already existed.
      This commit makes it use KisResourceModel instead
      (the newer resource API) and only updates the resource
      instead of adding it again.
      
      Right now creating a new mask should work as long as the name
      doesn't change (which is possible when editing the newly created
      mask).
      
      CCBUG:438033
      1269be2c
    • Agata Cacko's avatar
      Allow writing 0 bytes to KoQuaZipStore · ea2bbf37
      Agata Cacko authored
      Before this commit, if you tried to write 0 bytes to KoQuaZipStore,
      it would return "false" as if there was an error, even though
      the number of written bytes and the number of bytes in the cache
      were equal. In fact, the previous "error-checking" wouldn't
      catch an error, because it only checks it for 0, while write()
      returns -1 on error.
      
      This commit ensures that write() returns false iff the number of
      written bytes is different from the number of bytes the user
      expected to be written.
      ea2bbf37
    • Agata Cacko's avatar
      Remember palette (by name) in Color Sampler · 65fda1ce
      Agata Cacko authored
      Before this commit, the palette to use in the Color Sampler Tool
      wouldn't be remembered. This commit ensures that
      the palette will be remembered and will be used next time
      you want to use Color Sampler to the palette,
      instead of using just the first palette on the list.
      65fda1ce
    • Agata Cacko's avatar
      Fix order of tags in Resource Manager · 47e575e7
      Agata Cacko authored
      In both the Tag Selection Widget and the tags combobox
      in the Resource Manager, the order of tags was different from
      the order of tags in the Brush Presets docker.
      This commit fixes it and now all of them uses tag model
      sorted by Name.
      47e575e7
    • Agata Cacko's avatar
      Make Brush Presets the default res type in Resource Manager · 73e9459b
      Agata Cacko authored
      Before this commit, the default resource type was Brush Tips
      instead of Brush Presets, and since the default storage is
      Local Resources, it caused the list to only show
      the triangle brush tip that is used when the actual brush tip
      cannot be found. This was a bit ugly/unwelcoming to users
      (since they mostly expect their "brushes" (brush presets)
      to be visible and they want to organize those).
      This commit changes it so the default resource type on opening
      is Brush Presets.
      73e9459b
    • Halla Rempt's avatar
      b005ac4e
    • Halla Rempt's avatar
      Revert "Fixed Storyboard Export Rendering" · 7fbe8191
      Halla Rempt authored
      This reverts commit 39c88fbb.
      
      This broke the nightly build and the lime builds because grownby is too new.
      7fbe8191
    • Alvin Wong's avatar
      Fix using input method in command bar · c61db8c2
      Alvin Wong authored
      CCBUG: 395598
      BUG: 438122
      c61db8c2
    • Dmitry Kazakov's avatar
      Rename KisResourceIterator::toEnd() into KisResourceIterator::toBack() · 1aafc798
      Dmitry Kazakov authored
      To make it consistent with Qt's API :)
      1aafc798
    • Alvin Wong's avatar
      Fix incorrect indexing in KisResourceIterator · d9917157
      Alvin Wong authored
      d9917157
    • Dmitry Kazakov's avatar
      c4881ddc
    • Srirupa Datta's avatar
      Convert Colorize Mask to Paint Layer before splitting layers · b4e6c662
      Srirupa Datta authored
      BUG: 389346
      FIXED IN: 5.0.0
      b4e6c662
    • Eoin O'Neill's avatar
      Fixed Storyboard Export Rendering · 39c88fbb
      Eoin O'Neill authored
      Text rendering for storyboard exports simply wasn't working, and I wasn't happy with the
      lack of flexibility of row/column distribution -- so I rewrote it all.
      
      Should now work without looking glitchy in any configuration of column / row settings.
      When space becomes too limited, we just skip rendering the comment sections all together.
      39c88fbb
  3. 08 Jun, 2021 9 commits
  4. 07 Jun, 2021 13 commits