summaryrefslogtreecommitdiffstats
path: root/scene/3d/physics_body.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-12 06:14:15 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-12 06:14:15 -0300
commita625f7d07317ac4fac21962a99a7896ed13010c7 (patch)
treeffd18fbbd0507555e8c9966947e5c6a4bb1db1ad /scene/3d/physics_body.h
parenteab1e5b5967ccebf00ce1d456eb1fd6ee28ec96d (diff)
downloadredot-engine-a625f7d07317ac4fac21962a99a7896ed13010c7.tar.gz
-Properly lock and and warn about switching off contact monitoring, fixes #3041
Diffstat (limited to 'scene/3d/physics_body.h')
-rw-r--r--scene/3d/physics_body.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/physics_body.h b/scene/3d/physics_body.h
index 0d6c358e28..da79d63f00 100644
--- a/scene/3d/physics_body.h
+++ b/scene/3d/physics_body.h
@@ -175,7 +175,7 @@ private:
struct ContactMonitor {
-
+ bool locked;
Map<ObjectID,BodyState> body_map;
};