summaryrefslogtreecommitdiffstats
path: root/editor/plugins/animation_blend_space_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/animation_blend_space_editor.h')
-rw-r--r--editor/plugins/animation_blend_space_editor.h4
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();