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:
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…
Reference in New Issue
Block a user