tweaks to debug messages

(cherry picked from commit 873144ded3)
This commit is contained in:
ZappoMan 2013-07-03 14:40:59 -07:00
parent 2fffb15d94
commit 430c70875d

View file

@ -270,7 +270,13 @@ void deepestLevelVoxelDistributor(AgentList* agentList,
long long now = usecTimestampNow();
if (agentData->getLastTimeBagEmpty() > 0) {
float elapsedSceneSend = (now - agentData->getLastTimeBagEmpty()) / 1000000.0f;
printf(" elapsed time to send scene = %f seconds\n", elapsedSceneSend);
if (viewFrustumChanged) {
printf("viewFrustumChanged resetting after elapsed time to send scene = %f seconds", elapsedSceneSend);
} else {
printf("elapsed time to send scene = %f seconds", elapsedSceneSend);
}
printf(" [occlusionCulling: %s]\n", debug::valueOf(agentData->getWantOcclusionCulling()));
}
agentData->setLastTimeBagEmpty(now);
}