You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-02 16:48:55 +00:00
Merge pull request #11571 from ISylvox/phyisics-to-physics
Remove print_line in Physics2DServerWrapMT::init() [ci skip]
This commit is contained in:
@@ -109,16 +109,13 @@ void Physics2DServerWrapMT::init() {
|
|||||||
if (create_thread) {
|
if (create_thread) {
|
||||||
|
|
||||||
step_sem = Semaphore::create();
|
step_sem = Semaphore::create();
|
||||||
print_line("CREATING PHYSICS 2D THREAD");
|
|
||||||
//OS::get_singleton()->release_rendering_thread();
|
//OS::get_singleton()->release_rendering_thread();
|
||||||
if (create_thread) {
|
if (create_thread) {
|
||||||
thread = Thread::create(_thread_callback, this);
|
thread = Thread::create(_thread_callback, this);
|
||||||
print_line("STARTING PHYISICS 2D THREAD");
|
|
||||||
}
|
}
|
||||||
while (!step_thread_up) {
|
while (!step_thread_up) {
|
||||||
OS::get_singleton()->delay_usec(1000);
|
OS::get_singleton()->delay_usec(1000);
|
||||||
}
|
}
|
||||||
print_line("DONE PHYSICS 2D THREAD");
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
physics_2d_server->init();
|
physics_2d_server->init();
|
||||||
|
|||||||
Reference in New Issue
Block a user