Diffusion Krita 4b4cd75bbd6c

Fix autosave never save stuff because the image is too busy

Authored by dkazakov on May 19 2018, 10:18 PM.

Description

Fix autosave never save stuff because the image is too busy

Now the strategy is the following:

  1. Wait default time period for autosave
  2. Check if the image is busy
  3. If the image is not busy, just save :)
  4. If the image is busy, do three tries with emergency interval (10 ms each). If all the tries are failed, post a background stroke which will run after the current stroke and initiate the autosave.

Details

Committed
dkazakovMay 19 2018, 10:19 PM
Parents
R37:0c8d097953fa: Fix a crash when copy-pasting data between two different images
Branches
Unknown
Tags
Unknown