Makes the animation working again. I have no idea why the animation was broken.

svn path=/trunk/KDE/kdebase/workspace/; revision=826359
icc-effect-5.14.5
Martin Gräßlin 2008-06-30 15:09:07 +00:00
parent 50d9cd1be0
commit 281ccd2206
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ void FlipSwitchEffect::prePaintScreen( ScreenPrePaintData& data, int time )
if( mActivated || stopRequested || stop )
{
data.mask |= Effect::PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS;
if( mAnimation )
if( mAnimation && ( start || stop || animateFlip ) )
timeLine.addTime( (double)time );
}
effects->prePaintScreen(data, time);