Futher work on ensuring that all datatypes are initilizaed in OSG objects.
This commit is contained in:
@@ -169,7 +169,7 @@ sMStats m_getMemoryStatistics()
|
||||
static bool alwaysValidateAll = false;
|
||||
static bool alwaysLogAll = false;
|
||||
static bool alwaysWipeAll = true;
|
||||
static bool checkOnAllocations = true;
|
||||
static bool checkOnAllocations = false;
|
||||
static bool checkForUnitialized = false;
|
||||
static bool cleanupLogOnFirstRun = true;
|
||||
static const unsigned int paddingSize = 4;
|
||||
@@ -269,6 +269,10 @@ sMStats m_getMemoryStatistics()
|
||||
{
|
||||
checkOnAllocations=true;
|
||||
}
|
||||
else
|
||||
{
|
||||
checkOnAllocations=false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1010,7 +1014,7 @@ sMStats m_getMemoryStatistics()
|
||||
{
|
||||
|
||||
// check that exists allocated units havn't been damaged.
|
||||
if (checkOnAllocations || checkForUnitialized) m_validateAllAllocUnits();
|
||||
if (checkOnAllocations) m_validateAllAllocUnits();
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user