Made BlinkSequence subclass from osg::Object.

This commit is contained in:
Robert Osfield 2003-07-22 12:48:31 +00:00
parent f7ad937020
commit 2bce4dda75
2 changed files with 6 additions and 4 deletions

View File

@ -25,7 +25,7 @@
namespace osgSim {
class OSGSIM_EXPORT BlinkSequence : public osg::Referenced
class OSGSIM_EXPORT BlinkSequence : public osg::Object
{
public:
@ -43,7 +43,9 @@ class OSGSIM_EXPORT BlinkSequence : public osg::Referenced
BlinkSequence();
BlinkSequence(const BlinkSequence& bs);
BlinkSequence(const BlinkSequence& bs, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
META_Object(osgSim,BlinkSequence);
/** add a pulse of specified color and duration to the BlinkSequence.*/

View File

@ -25,8 +25,8 @@ BlinkSequence::BlinkSequence():
{
}
BlinkSequence::BlinkSequence(const BlinkSequence& bs):
osg::Referenced(),
BlinkSequence::BlinkSequence(const BlinkSequence& bs, const osg::CopyOp& copyop):
osg::Object(bs,copyop),
_pulsePeriod(bs._pulsePeriod),
_phaseShift(bs._phaseShift),
_pulseData(bs._pulseData),