Add projectiles number to the resources stats

cherry-pick-2bee171c
fredzio 3 years ago
parent ca011927f3
commit c76387162b

@ -925,6 +925,7 @@ namespace MWPhysics
{
stats.setAttribute(frameNumber, "Physics Actors", mActors.size());
stats.setAttribute(frameNumber, "Physics Objects", mObjects.size());
stats.setAttribute(frameNumber, "Physics Projectiles", mProjectiles.size());
stats.setAttribute(frameNumber, "Physics HeightFields", mHeightFields.size());
}

@ -401,6 +401,7 @@ void StatsHandler::setUpScene(osgViewer::ViewerBase *viewer)
"",
"Physics Actors",
"Physics Objects",
"Physics Projectiles",
"Physics HeightFields",
});

Loading…
Cancel
Save