aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/physics_joint.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-01-02 08:36:40 -0300
committerJuan Linietsky2016-01-02 08:37:27 -0300
commitdf5fa62ab955437f05bfd7acdf6ed61d6d9c827e (patch)
treee96aa68075e428aa58ac8458777c7320f9734433 /scene/3d/physics_joint.cpp
parentbe1f2a049f801d7a37a9386b0aaf453085077372 (diff)
downloadgodot-df5fa62ab955437f05bfd7acdf6ed61d6d9c827e.tar.gz
godot-df5fa62ab955437f05bfd7acdf6ed61d6d9c827e.tar.zst
godot-df5fa62ab955437f05bfd7acdf6ed61d6d9c827e.zip
Diffstat (limited to 'scene/3d/physics_joint.cpp')
-rw-r--r--scene/3d/physics_joint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/physics_joint.cpp b/scene/3d/physics_joint.cpp
index 206031259..3f03b2aab 100644
--- a/scene/3d/physics_joint.cpp
+++ b/scene/3d/physics_joint.cpp
@@ -141,7 +141,7 @@ void Joint::_notification(int p_what) {
case NOTIFICATION_EXIT_TREE: {
if (joint.is_valid()) {
_update_joint(true);
- PhysicsServer::get_singleton()->free(joint);
+ //PhysicsServer::get_singleton()->free(joint);
joint=RID();
}
} break;