From b80946ee0dbb7c28021c55d2623a35e89fc972f4 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 21 Jun 2018 18:08:11 -0300 Subject: Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key --- editor/plugins/animation_blend_space_editor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editor/plugins/animation_blend_space_editor.h') diff --git a/editor/plugins/animation_blend_space_editor.h b/editor/plugins/animation_blend_space_editor.h index bac80a4962..4514ecc430 100644 --- a/editor/plugins/animation_blend_space_editor.h +++ b/editor/plugins/animation_blend_space_editor.h @@ -17,7 +17,7 @@ class AnimationNodeBlendSpaceEditor : public VBoxContainer { GDCLASS(AnimationNodeBlendSpaceEditor, VBoxContainer); - AnimationNodeBlendSpace *blend_space; + Ref blend_space; HBoxContainer *goto_parent_hb; ToolButton *goto_parent; @@ -93,6 +93,8 @@ class AnimationNodeBlendSpaceEditor : public VBoxContainer { void _goto_parent(); + void _removed_from_graph(); + protected: void _notification(int p_what); static void _bind_methods(); -- cgit v1.2.3