diff options
| author | Juan Linietsky | 2018-06-21 18:08:11 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2018-06-21 18:08:11 -0300 |
| commit | b80946ee0dbb7c28021c55d2623a35e89fc972f4 (patch) | |
| tree | aae498f78f1fc7df6f05869ac2b92cf8aea92478 /editor/plugins/animation_blend_tree_editor_plugin.h | |
| parent | a0719533bdc4e99a24bd02886fc77a29d5d30dfc (diff) | |
| download | godot-b80946ee0dbb7c28021c55d2623a35e89fc972f4.tar.gz godot-b80946ee0dbb7c28021c55d2623a35e89fc972f4.tar.zst godot-b80946ee0dbb7c28021c55d2623a35e89fc972f4.zip | |
Diffstat (limited to 'editor/plugins/animation_blend_tree_editor_plugin.h')
| -rw-r--r-- | editor/plugins/animation_blend_tree_editor_plugin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/plugins/animation_blend_tree_editor_plugin.h b/editor/plugins/animation_blend_tree_editor_plugin.h index 71efed6da..deba3b2b0 100644 --- a/editor/plugins/animation_blend_tree_editor_plugin.h +++ b/editor/plugins/animation_blend_tree_editor_plugin.h @@ -17,7 +17,7 @@ class AnimationNodeBlendTreeEditor : public VBoxContainer { GDCLASS(AnimationNodeBlendTreeEditor, VBoxContainer); - AnimationNodeBlendTree *blend_tree; + Ref<AnimationNodeBlendTree> blend_tree; GraphEdit *graph; MenuButton *add_node; Button *goto_parent; @@ -78,6 +78,8 @@ class AnimationNodeBlendTreeEditor : public VBoxContainer { void _node_changed(ObjectID p_node); + void _removed_from_graph(); + protected: void _notification(int p_what); static void _bind_methods(); |
