Add a 3D suffix to relevant physics profiler categories

2D physics categories already had a 2D suffix: "Physics 2D"

(cherry picked from commit 36428305a6)
This commit is contained in:
Hugo Locurcio 2022-05-28 00:54:14 +02:00 committed by Rémi Verschelde
parent 47ade6786f
commit 46b7133967

View file

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