Merge pull request #11571 from ISylvox/phyisics-to-physics

Remove print_line in Physics2DServerWrapMT::init()

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-09-25 10:21:35 +02:00 committed by GitHub
commit ab644de1d8

View file

@ -109,16 +109,13 @@ void Physics2DServerWrapMT::init() {
if (create_thread) {
step_sem = Semaphore::create();
print_line("CREATING PHYSICS 2D THREAD");
//OS::get_singleton()->release_rendering_thread();
if (create_thread) {
thread = Thread::create(_thread_callback, this);
print_line("STARTING PHYISICS 2D THREAD");
}
while (!step_thread_up) {
OS::get_singleton()->delay_usec(1000);
}
print_line("DONE PHYSICS 2D THREAD");
} else {
physics_2d_server->init();