summaryrefslogtreecommitdiff
path: root/editor/plugins/physical_bone_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/physical_bone_plugin.cpp')
-rw-r--r--editor/plugins/physical_bone_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/physical_bone_plugin.cpp b/editor/plugins/physical_bone_plugin.cpp
index 28099a927b..4b63d82961 100644
--- a/editor/plugins/physical_bone_plugin.cpp
+++ b/editor/plugins/physical_bone_plugin.cpp
@@ -64,7 +64,7 @@ PhysicalBoneEditor::PhysicalBoneEditor(EditorNode *p_editor) :
button_transform_joint->set_text(TTR("Move Joint"));
button_transform_joint->set_icon(SpatialEditor::get_singleton()->get_icon("PhysicalBone", "EditorIcons"));
button_transform_joint->set_toggle_mode(true);
- button_transform_joint->connect("toggled", this, "_on_toggle_button_transform_joint");
+ button_transform_joint->connect_compat("toggled", this, "_on_toggle_button_transform_joint");
hide();
}