mirror of
https://github.com/godotengine/godot
synced 2024-09-05 08:08:29 +00:00
Merge pull request #11571 from ISylvox/phyisics-to-physics
Remove print_line in Physics2DServerWrapMT::init() [ci skip]
This commit is contained in:
commit
ab644de1d8
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue