[fusion-commits] Animation plugin: Changes to 'master' (5ed5e154c78c729276a51df2b6cd511e566e5c48)
onestone at server.beryl-project.org
onestone at server.beryl-project.org
Wed Jul 18 17:53:05 CEST 2007
New commits:
commit 5ed5e154c78c729276a51df2b6cd511e566e5c48
Author: Roland Baer <roland at Vista.(none)>
Date: Wed Jul 18 18:23:38 2007 +0300
animation unused vars
beamup.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
Modified: fusion/plugins/animation/beamup.c
===================================================================
--- fusion/plugins/animation/beamup.c
+++ fusion/plugins/animation/beamup.c
@@ -184,7 +184,6 @@ Bool fxBeamUpModelStep(CompScreen * s, CompWindow * w, float time)
aw->timestep = timestep;
float old = 1 - (aw->animRemainingTime) / (aw->animTotalTime);
- float stepSize;
aw->remainderSteps += time / timestep;
steps = floor(aw->remainderSteps);
@@ -197,8 +196,6 @@ Bool fxBeamUpModelStep(CompScreen * s, CompWindow * w, float time)
aw->animRemainingTime = 0; // avoid sub-zero values
float new = 1 - (aw->animRemainingTime) / (aw->animTotalTime);
- stepSize = new - old;
-
if (aw->curWindowEvent == WindowEventOpen ||
aw->curWindowEvent == WindowEventUnminimize ||
aw->curWindowEvent == WindowEventUnshade)
More information about the commits
mailing list