Fixed annoying bug, sometimes a black area was displayed in the editor instead of the image to open

This commit is contained in:
Oliver Duis
2010-10-24 23:39:00 +02:00
parent 0e8d0c9693
commit 0834ae070a

View File

@@ -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 ();
} }