1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00

Add projectiles number to the resources stats

This commit is contained in:
fredzio 2021-07-31 23:08:50 +02:00
parent ca011927f3
commit c76387162b
2 changed files with 2 additions and 0 deletions

View File

@ -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());
}

View File

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