Various fixes to constructors to ensure that all variables are initialized.
This commit is contained in:
@@ -55,7 +55,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced
|
||||
else
|
||||
{
|
||||
// ensure that _viewport is always valid.
|
||||
_viewport = new osg::Viewport;
|
||||
_viewport = osgNew osg::Viewport;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user