From a4c06de42f5759fa39e0c7190be3cb88c98465ec Mon Sep 17 00:00:00 2001 From: curt <curt> Date: Mon, 21 Oct 2002 16:09:11 +0000 Subject: [PATCH] Fix a bug with rabbit light creation. --- src/Objects/pt_lights.cxx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Objects/pt_lights.cxx b/src/Objects/pt_lights.cxx index 3041d1feb..d67fe73f6 100644 --- a/src/Objects/pt_lights.cxx +++ b/src/Objects/pt_lights.cxx @@ -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 );