All pastes #2068899 Raw Edit

Stuff

public text v1 · immutable
#2068899 ·published 2011-05-25 10:58 UTC
rendered paste body
	for (std::vector<Animation>::iterator iter = animations.begin (); iter != animations.end (); )
	{
		if (animations[iter].complete && animations[iter].opacity <= 0)
			iter = animations.erase(iter);
		else
			iter++;

		if (animations.empty ())
		{
			cScreen->preparePaintSetEnabled (this, false);
			cScreen->donePaintSetEnabled (this, false);
			animations.clear ();
			animating = false;
		}
	}