diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-06-21 18:08:11 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-06-21 18:08:11 -0300 |
commit | b80946ee0dbb7c28021c55d2623a35e89fc972f4 (patch) | |
tree | aae498f78f1fc7df6f05869ac2b92cf8aea92478 /editor/plugins/animation_blend_space_editor.h | |
parent | a0719533bdc4e99a24bd02886fc77a29d5d30dfc (diff) |
Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key
Diffstat (limited to 'editor/plugins/animation_blend_space_editor.h')
-rw-r--r-- | editor/plugins/animation_blend_space_editor.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<AnimationNodeBlendSpace> 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(); |