Show
Ignore:
Timestamp:
03/22/05 18:00:41 (9 years ago)
Author:
robert
Message:

Fixed the double transform of ParticleEffects?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgspheresegment/osgspheresegment.cpp

    r3934 r3935  
    221221        osgParticle::FireEffect* fire = new osgParticle::FireEffect; 
    222222 
    223         osg::Geode* geode = new osg::Geode; 
    224         geode->addDrawable(new osg::ShapeDrawable(new osg::Sphere(osg::Vec3(0.0f,0.0f,0.0f),10.0f))); 
    225         positionEffects->addChild(geode); 
     223        //osg::Geode* geode = new osg::Geode; 
     224        //geode->addDrawable(new osg::ShapeDrawable(new osg::Sphere(osg::Vec3(0.0f,0.0f,0.0f),10.0f))); 
     225        //positionEffects->addChild(geode); 
    226226 
    227227        positionEffects->addChild(explosion);