[godot] Fix property editor not returning true on handling animation mixes.

This commit is contained in:
badlogic 2022-04-15 10:36:48 +02:00
parent ef6e4aa559
commit 8472ca8a25
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@
[sub_resource type="SpineAnimationMix" id=1] [sub_resource type="SpineAnimationMix" id=1]
from = "idle" from = "idle"
to = "death" to = "run"
mix = 1.0 mix = 1.0
[sub_resource type="SpineAnimationMix" id=2] [sub_resource type="SpineAnimationMix" id=2]

View File

@ -94,6 +94,7 @@ bool SpineSkeletonDataResourceInspectorPlugin::parse_property(Object *object, Va
auto mixes_property = memnew(SpineEditorPropertyAnimationMixes); auto mixes_property = memnew(SpineEditorPropertyAnimationMixes);
mixes_property->setup(skeleton_data); mixes_property->setup(skeleton_data);
add_property_editor(path, mixes_property); add_property_editor(path, mixes_property);
return true;
} }
return false; return false;
} }