Skip to content
  • Dmitry Kazakov's avatar
    Fixed a concurrent File Layer source image change · 0e5a207a
    Dmitry Kazakov authored and Halla Rempt's avatar Halla Rempt committed
    Now when the source image is changed we use an iterational algorithm
    which is usually applied to a SeqLock problem:
    
    1) Save the size and lastModified tag of the image
    2) Copy the image to the temporary directory
    3) Check whether the image has changed during the copy operation
    4) If everything is ok load the image from a temporary copy. If not,
       restart.
    
    BUG:325686
    
    Conflicts:
    	krita/ui/kis_file_layer.cpp
    0e5a207a