Diffusion Krita 4aa690ded4a6

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:18 PM
Parents
R37:e967bfa87f6b: Implement a basic Frame Cache Swapping
Branches
Unknown
Tags
Unknown