From 0834ae070ad3e135b166a510d6e1d1fcd0d0361d Mon Sep 17 00:00:00 2001 From: Oliver Duis Date: Sun, 24 Oct 2010 23:39:00 +0200 Subject: [PATCH] Fixed annoying bug, sometimes a black area was displayed in the editor instead of the image to open --- rtengine/dcrop.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtengine/dcrop.cc b/rtengine/dcrop.cc index 65dc125b6..2416ed565 100644 --- a/rtengine/dcrop.cc +++ b/rtengine/dcrop.cc @@ -342,7 +342,9 @@ void Crop::fullUpdate () { parent->updaterThreadStart.lock (); 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 (); }