Added explicit initialization of osg::Referenced(true) to osg::Operation subclasses as it uses virtual inhertiance from osg::Referenced.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15024 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -540,6 +540,7 @@ public:
|
||||
const std::string& outputFilename,
|
||||
SceneGraphProcessor* sceneGraphProcessor,
|
||||
osgUtil::IncrementalCompileOperation* ico):
|
||||
osg::Referenced(true),
|
||||
Operation("DatabasePaging Operation", false),
|
||||
_filename(filename),
|
||||
_outputFilename(outputFilename),
|
||||
|
||||
@@ -1366,6 +1366,7 @@ class CompileStateCallback : public osg::Operation
|
||||
{
|
||||
public:
|
||||
CompileStateCallback(GameEventHandler* eh):
|
||||
osg::Referenced(true),
|
||||
osg::Operation("CompileStateCallback", false),
|
||||
_gameEventHandler(eh) {}
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ class CalibrateCostEsimator : public osg::GraphicsOperation
|
||||
public:
|
||||
|
||||
CalibrateCostEsimator(osg::GraphicsCostEstimator* gce):
|
||||
osg::Referenced(true),
|
||||
osg::GraphicsOperation("CalbirateCostEstimator",false),
|
||||
_gce(gce) {}
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ class MotionBlurOperation: public osg::Operation
|
||||
{
|
||||
public:
|
||||
MotionBlurOperation(double persistence):
|
||||
osg::Referenced(true),
|
||||
osg::Operation("MotionBlur",true),
|
||||
cleared_(false),
|
||||
persistence_(persistence)
|
||||
|
||||
@@ -261,6 +261,7 @@ class TestSupportOperation: public osg::GraphicsOperation
|
||||
public:
|
||||
|
||||
TestSupportOperation():
|
||||
osg::Referenced(true),
|
||||
osg::GraphicsOperation("TestSupportOperation",false),
|
||||
_supported(true),
|
||||
_errorMessage() {}
|
||||
|
||||
@@ -559,6 +559,7 @@ class UpdateTextOperation : public osg::Operation
|
||||
public:
|
||||
|
||||
UpdateTextOperation(const osg::Vec3& center, float diameter, osg::Group* group):
|
||||
osg::Referenced(true),
|
||||
Operation("UpdateTextOperation", true),
|
||||
_center(center),
|
||||
_diameter(diameter),
|
||||
|
||||
@@ -83,6 +83,7 @@ class LoadAndCompileOperation : public osg::Operation
|
||||
public:
|
||||
|
||||
LoadAndCompileOperation(const std::string& filename, osgUtil::IncrementalCompileOperation* ico , osg::RefBlockCount* block):
|
||||
osg::Referenced(true),
|
||||
Operation("Load and compile Operation", false),
|
||||
_filename(filename),
|
||||
_incrementalCompileOperation(ico),
|
||||
@@ -128,6 +129,7 @@ public:
|
||||
|
||||
|
||||
MasterOperation(const std::string& filename, osgUtil::IncrementalCompileOperation* ico):
|
||||
osg::Referenced(true),
|
||||
Operation("Master reading operation",true),
|
||||
_filename(filename),
|
||||
_incrementalCompileOperation(ico)
|
||||
|
||||
@@ -306,6 +306,7 @@ class TestSupportOperation: public osg::GraphicsOperation
|
||||
public:
|
||||
|
||||
TestSupportOperation():
|
||||
osg::Referenced(true),
|
||||
osg::GraphicsOperation("TestSupportOperation",false),
|
||||
supported(true),
|
||||
errorMessage(),
|
||||
|
||||
Reference in New Issue
Block a user