1
0
Fork 0

Fix a bug with rabbit light creation.

This commit is contained in:
curt 2002-10-21 16:09:11 +00:00
parent b0d12281c8
commit a4c06de42f

View file

@ -288,8 +288,6 @@ ssgTimedSelector *gen_rabbit_lights( const point_list &nodes,
const string &material,
sgVec3 up )
{
bool first = true;
sgVec3 nup;
sgNormalizeVec3( nup, up );
@ -353,11 +351,6 @@ ssgTimedSelector *gen_rabbit_lights( const point_list &nodes,
leaf->setCallback( SSG_CALLBACK_POSTDRAW, StrobePostDraw );
rabbit->addKid( leaf );
if ( first ) {
// ssg bug where first entry in animation is ignored.
rabbit->addKid( leaf );
}
}
rabbit->setDuration( 10 );