summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorCamille Mohr-Daurat <pouleyKetchoup@gmail.com>2021-10-01 08:45:20 -0700
committerGitHub <noreply@github.com>2021-10-01 08:45:20 -0700
commitc7ee029acdaa62432fbabcd31f261122ee19b972 (patch)
treeb0b62c6d52060214d821d4bc46c7c98e5773a247 /editor
parent93cb71cca950dc8a52b6c669b8a6ea699a9fc7f0 (diff)
parentca30b70943b1d2c19c10e901786edb8b095f7834 (diff)
Merge pull request #53302 from nekomatata/physics-bone-remove-editor-code
Remove editor code in PhysicalBone3D
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/physical_bone_3d_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/physical_bone_3d_editor_plugin.cpp b/editor/plugins/physical_bone_3d_editor_plugin.cpp
index f92f50f826..b1e104e680 100644
--- a/editor/plugins/physical_bone_3d_editor_plugin.cpp
+++ b/editor/plugins/physical_bone_3d_editor_plugin.cpp
@@ -43,6 +43,7 @@ void PhysicalBone3DEditor::_on_toggle_button_transform_joint(bool p_is_pressed)
void PhysicalBone3DEditor::_set_move_joint() {
if (selected) {
selected->_set_gizmo_move_joint(button_transform_joint->is_pressed());
+ Node3DEditor::get_singleton()->update_transform_gizmo();
}
}