[Digikam-devel] [Bug 120736] many imageplugins going busy for ever when not using rubber to change a value
Gilles Caulier
caulier.gilles at free.fr
Wed Jan 25 07:05:55 GMT 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=120736
------- Additional Comments From caulier.gilles free fr 2006-01-25 08:05 -------
SVN commit 502188 by cgilles:
digikam from stable : do not render preview effect if final rendering is already in progress in image.
CCBUG: 120736
M +3 -1 imageeffect_blur.cpp
M +4 -2 imageeffect_sharpen.cpp
--- branches/stable/extragear/graphics/digikam/imageplugins/imageeffect_blur.cpp #502187:502188
@ -191,7 +191,9 @
void ImageEffect_Blur::slotEffect()
{
// Computation already in process.
- if (m_currentRenderingMode == PreviewRendering) return;
+ if (m_currentRenderingMode == PreviewRendering ||
+ m_currentRenderingMode == FinalRendering)
+ return;
m_currentRenderingMode = PreviewRendering;
--- branches/stable/extragear/graphics/digikam/imageplugins/imageeffect_sharpen.cpp #502187:502188
@ -191,8 +191,10 @
void ImageEffect_Sharpen::slotEffect()
{
// Computation already in process.
- if (m_currentRenderingMode == PreviewRendering) return;
-
+ if (m_currentRenderingMode == PreviewRendering ||
+ m_currentRenderingMode == FinalRendering)
+ return;
+
m_currentRenderingMode = PreviewRendering;
m_imagePreviewWidget->setEnable(false);
More information about the Digikam-devel
mailing list