mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[godot] Fix property editor not returning true on handling animation mixes.
This commit is contained in:
parent
ef6e4aa559
commit
8472ca8a25
@ -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]
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user