godot/servers/physics_2d
Fabio Alessandrelli 6dffc1ef46
Ignore thread models when compiling with NO_THREAD
The thread model option for physics (2D) and rendering (single-unsafe,
single-safe, multithread), was causing crashes/locks when set as
multithreaded and exported for a platform that does not support threads
(namely HTML5).

This commit ensures that when threads support is not available, that
option is ignored, and the equivalent of "single-unsafe" is always used
instead.

(cherry picked from commit f3c6ac1d71)
2020-09-24 14:43:08 +02:00
..
area_2d_sw.cpp Remove elements from monitored_bodies and monitored_areas as they are 2020-07-04 10:08:33 +01:00
area_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
area_pair_2d_sw.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
area_pair_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
body_2d_sw.cpp Wrap angles to (-pi, pi) in momentum calculation. 2020-09-24 14:43:06 +02:00
body_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
body_pair_2d_sw.cpp fix laxist collision detection on one way shapes 2020-07-03 15:34:30 +02:00
body_pair_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
broad_phase_2d_basic.cpp Test collision mask before creating constraint pair in Godot physics 2020-06-08 17:43:41 +01:00
broad_phase_2d_basic.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
broad_phase_2d_hash_grid.cpp Trigger broadphase update when changing collision layer/mask, and 2020-06-27 18:11:21 +01:00
broad_phase_2d_hash_grid.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
broad_phase_2d_sw.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
broad_phase_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_object_2d_sw.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_object_2d_sw.h Trigger broadphase update when changing collision layer/mask, and 2020-06-27 18:11:21 +01:00
collision_solver_2d_sat.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_solver_2d_sat.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_solver_2d_sw.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_solver_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
constraint_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
joints_2d_sw.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
joints_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_2d_server_sw.cpp Ignore thread models when compiling with NO_THREAD 2020-09-24 14:43:08 +02:00
physics_2d_server_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_2d_server_wrap_mt.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
physics_2d_server_wrap_mt.h Ignore thread models when compiling with NO_THREAD 2020-09-24 14:43:08 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shape_2d_sw.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
shape_2d_sw.h Assign zero to range when ConvexPolygonShape2D is empty. 2020-04-16 12:57:22 +02:00
space_2d_sw.cpp Revert "Allow Area2D and 3D mouse events without a collision layer" 2020-07-27 22:46:04 +02:00
space_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
step_2d_sw.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
step_2d_sw.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00