You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key
This commit is contained in:
@@ -318,6 +318,9 @@ Vector2 AnimationNode::get_position() const {
|
||||
|
||||
void AnimationNode::set_graph_player(AnimationGraphPlayer *p_player) {
|
||||
|
||||
if (player != NULL && p_player == NULL) {
|
||||
emit_signal("removed_from_graph");
|
||||
}
|
||||
player = p_player;
|
||||
}
|
||||
|
||||
@@ -377,6 +380,7 @@ void AnimationNode::_bind_methods() {
|
||||
|
||||
BIND_VMETHOD(MethodInfo("process", PropertyInfo(Variant::REAL, "time"), PropertyInfo(Variant::BOOL, "seek")));
|
||||
|
||||
ADD_SIGNAL(MethodInfo("removed_from_graph"));
|
||||
BIND_ENUM_CONSTANT(FILTER_IGNORE);
|
||||
BIND_ENUM_CONSTANT(FILTER_PASS);
|
||||
BIND_ENUM_CONSTANT(FILTER_STOP);
|
||||
|
||||
Reference in New Issue
Block a user