diff options
author | Juan Linietsky <red@kyoko> | 2015-05-27 17:30:50 -0300 |
---|---|---|
committer | Juan Linietsky <red@kyoko> | 2015-05-27 17:30:50 -0300 |
commit | f62961aba3d9e11d4741649a591217796151a46c (patch) | |
tree | 3328c0c47ced8e11fcd10f384ae446b8cb46f7f9 /servers/physics_2d | |
parent | 57a78ec06bccbb55a85c73891d88b983b4f01c94 (diff) |
-fix bug in animation editor
-fix crash bug in physics motion, closes #1993
Diffstat (limited to 'servers/physics_2d')
-rw-r--r-- | servers/physics_2d/physics_2d_server_wrap_mt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/physics_2d_server_wrap_mt.h b/servers/physics_2d/physics_2d_server_wrap_mt.h index 48382498ef..0ddc8f16ec 100644 --- a/servers/physics_2d/physics_2d_server_wrap_mt.h +++ b/servers/physics_2d/physics_2d_server_wrap_mt.h @@ -224,7 +224,7 @@ public: bool body_test_motion(RID p_body,const Vector2& p_motion,float p_margin=0.001,MotionResult *r_result=NULL) { ERR_FAIL_COND_V(main_thread!=Thread::get_caller_ID(),false); - return body_test_motion(p_body,p_motion,p_margin,r_result); + return physics_2d_server->body_test_motion(p_body,p_motion,p_margin,r_result); } /* JOINT API */ |