Made BlinkSequence subclass from osg::Object.
This commit is contained in:
parent
f7ad937020
commit
2bce4dda75
@ -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.*/
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user