Fixed annoying bug, sometimes a black area was displayed in the editor instead of the image to open
This commit is contained in:
@@ -342,7 +342,9 @@ void Crop::fullUpdate () {
|
|||||||
|
|
||||||
parent->updaterThreadStart.lock ();
|
parent->updaterThreadStart.lock ();
|
||||||
if (parent->updaterRunning && parent->thread) {
|
if (parent->updaterRunning && parent->thread) {
|
||||||
parent->changeSinceLast = 0;
|
// Do NOT reset changes here, since in a long chain of events it will lead to chroma_scale not being updated,
|
||||||
|
// causing ImProcFunctions::lab2rgb to return a black image on some opens
|
||||||
|
//parent->changeSinceLast = 0;
|
||||||
parent->thread->join ();
|
parent->thread->join ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user