You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #107546 from demolke/bone
Fix editing/removal of bone meta
This commit is contained in:
@@ -156,7 +156,7 @@ void BonePropertiesEditor::_meta_changed(const String &p_property, const Variant
|
|||||||
}
|
}
|
||||||
|
|
||||||
String key = p_property.get_slicec('/', 3);
|
String key = p_property.get_slicec('/', 3);
|
||||||
if (!skeleton->has_bone_meta(1, key)) {
|
if (!skeleton->has_bone_meta(bone, key)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -180,7 +180,7 @@ void BonePropertiesEditor::_meta_deleted(const String &p_property) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String key = p_property.get_slicec('/', 3);
|
String key = p_property.get_slicec('/', 3);
|
||||||
if (!skeleton->has_bone_meta(1, key)) {
|
if (!skeleton->has_bone_meta(bone, key)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user