From 80aada7d23d64ca4a3fd0a54f7dbe87b62964963 Mon Sep 17 00:00:00 2001 From: demolke Date: Sat, 14 Jun 2025 21:22:41 +0200 Subject: [PATCH] Fix editing/removal of bone meta This was accidentally always targeting bone 1 --- editor/plugins/skeleton_3d_editor_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/plugins/skeleton_3d_editor_plugin.cpp b/editor/plugins/skeleton_3d_editor_plugin.cpp index 4e270accf32..0cc54b9590e 100644 --- a/editor/plugins/skeleton_3d_editor_plugin.cpp +++ b/editor/plugins/skeleton_3d_editor_plugin.cpp @@ -156,7 +156,7 @@ void BonePropertiesEditor::_meta_changed(const String &p_property, const Variant } String key = p_property.get_slicec('/', 3); - if (!skeleton->has_bone_meta(1, key)) { + if (!skeleton->has_bone_meta(bone, key)) { return; } @@ -180,7 +180,7 @@ void BonePropertiesEditor::_meta_deleted(const String &p_property) { } String key = p_property.get_slicec('/', 3); - if (!skeleton->has_bone_meta(1, key)) { + if (!skeleton->has_bone_meta(bone, key)) { return; }