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

svn path=/trunk/KDE/kdebase/workspace/; revision=826359
This commit is contained in:
Martin Gräßlin 2008-06-30 15:09:07 +00:00
parent 50d9cd1be0
commit 281ccd2206

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);