diff --git a/include/osgParticle/Emitter b/include/osgParticle/Emitter index f799a3fb8..a30550aad 100644 --- a/include/osgParticle/Emitter +++ b/include/osgParticle/Emitter @@ -65,7 +65,6 @@ namespace osgParticle virtual void emit(double dt) = 0; - private: bool usedeftemp_; Particle ptemp_; }; diff --git a/include/osgParticle/ModularEmitter b/include/osgParticle/ModularEmitter index 5e0d4ff9b..ba148db47 100644 --- a/include/osgParticle/ModularEmitter +++ b/include/osgParticle/ModularEmitter @@ -79,7 +79,7 @@ namespace osgParticle virtual ~ModularEmitter() {} ModularEmitter &operator=(const ModularEmitter &) { return *this; } - void emit(double dt); + virtual void emit(double dt); private: osg::ref_ptr counter_;