mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Add a 3D suffix to relevant physics profiler categories
2D physics categories already had a 2D suffix: "Physics 2D" (cherry picked from commit 36428305a685889c8f307896951082fda58a974f)
This commit is contained in:
parent
62e781b914
commit
c133ff34d4
@ -1356,7 +1356,7 @@ void PhysicsServerSW::flush_queries() {
|
|||||||
values.push_back("flush_queries");
|
values.push_back("flush_queries");
|
||||||
values.push_back(USEC_TO_SEC(OS::get_singleton()->get_ticks_usec() - time_beg));
|
values.push_back(USEC_TO_SEC(OS::get_singleton()->get_ticks_usec() - time_beg));
|
||||||
|
|
||||||
ScriptDebugger::get_singleton()->add_profiling_frame_data("physics", values);
|
ScriptDebugger::get_singleton()->add_profiling_frame_data("physics_3d", values);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user