Various fixes to constructors to ensure that all variables are initialized.
This commit is contained in:
@@ -82,7 +82,6 @@ CullVisitor::CullVisitor()
|
||||
//_tsm = LOOK_VECTOR_DISTANCE;
|
||||
_tsm = OBJECT_EYE_POINT_DISTANCE;
|
||||
|
||||
|
||||
_computeNearFar = COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES;
|
||||
_computed_znear = FLT_MAX;
|
||||
_computed_zfar = -FLT_MAX;
|
||||
@@ -93,6 +92,11 @@ CullVisitor::CullVisitor()
|
||||
_numFramesToKeepImpostorSprites = 10;
|
||||
_impostorSpriteManager = osgNew ImpostorSpriteManager;
|
||||
|
||||
_currentRenderGraph = NULL;
|
||||
_currentRenderBin = NULL;
|
||||
|
||||
_currentReuseRenderLeafIndex=0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user