[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:31 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 502187 by cgilles:
digikam from trunk : do not render preview effect if final rendering is already in progress in image.
CCBUG: 120736
M +3 -1 digikam/libs/dialogs/ctrlpaneldlg.cpp
M +3 -1 digikam/libs/dialogs/imageguidedlg.cpp
M +3 -1 digikamimageplugins/common/dialogs/ctrlpaneldialog.cpp
M +3 -1 digikamimageplugins/common/dialogs/imageguidedialog.cpp
--- trunk/extragear/graphics/digikam/libs/dialogs/ctrlpaneldlg.cpp #502186:502187
@ -280,7 +280,9 @
void CtrlPanelDlg::slotEffect()
{
// Computation already in process.
- if (d->currentRenderingMode == CtrlPanelDlgPriv::PreviewRendering) return;
+ if (d->currentRenderingMode == CtrlPanelDlgPriv::PreviewRendering ||
+ d->currentRenderingMode == CtrlPanelDlgPriv::FinalRendering)
+ return;
d->currentRenderingMode = CtrlPanelDlgPriv::PreviewRendering;
--- trunk/extragear/graphics/digikam/libs/dialogs/imageguidedlg.cpp #502186:502187
@ -364,7 +364,9 @
void ImageGuideDlg::slotEffect()
{
// Computation already in process.
- if (d->currentRenderingMode == ImageGuideDlgPriv::PreviewRendering) return;
+ if (d->currentRenderingMode == ImageGuideDlgPriv::PreviewRendering ||
+ d->currentRenderingMode == ImageGuideDlgPriv::FinalRendering)
+ return;
d->currentRenderingMode = ImageGuideDlgPriv::PreviewRendering;
--- trunk/extragear/graphics/digikamimageplugins/common/dialogs/ctrlpaneldialog.cpp #502186:502187
@ -235,7 +235,9 @
void CtrlPanelDialog::slotEffect()
{
// Computation already in process.
- if (m_currentRenderingMode == PreviewRendering) return;
+ if (m_currentRenderingMode == PreviewRendering ||
+ m_currentRenderingMode == FinalRendering)
+ return;
m_currentRenderingMode = PreviewRendering;
--- trunk/extragear/graphics/digikamimageplugins/common/dialogs/imageguidedialog.cpp #502186:502187
@ -313,7 +313,9 @
void ImageGuideDialog::slotEffect()
{
// Computation already in process.
- if (m_currentRenderingMode == PreviewRendering) return;
+ if (m_currentRenderingMode == PreviewRendering ||
+ m_currentRenderingMode == FinalRendering)
+ return;
m_currentRenderingMode = PreviewRendering;
More information about the Digikam-devel
mailing list