summaryrefslogtreecommitdiff
path: root/editor/plugins/sprite_editor_plugin.h
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2019-04-23 21:10:44 +0200
committerTomasz Chabora <kobewi4e@gmail.com>2019-04-23 21:10:44 +0200
commita93ff8d210c4258e850270426f33a10d9306f728 (patch)
tree66ed1000a9203db78b04be844fe6b80e75e9fca8 /editor/plugins/sprite_editor_plugin.h
parent36a54ffebbab07252b9f689b7753665b6cb3aaf1 (diff)
Add undo for Sprite Editor
Diffstat (limited to 'editor/plugins/sprite_editor_plugin.h')
-rw-r--r--editor/plugins/sprite_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sprite_editor_plugin.h b/editor/plugins/sprite_editor_plugin.h
index 460f5a5707..81be4a19e9 100644
--- a/editor/plugins/sprite_editor_plugin.h
+++ b/editor/plugins/sprite_editor_plugin.h
@@ -84,7 +84,7 @@ class SpriteEditor : public Control {
void _create_collision_polygon_2d_node();
void _create_light_occluder_2d_node();
- void _add_as_sibling_or_child(Node2D *p_own_node, Node2D *p_new_node);
+ void _add_as_sibling_or_child(Node *p_own_node, Node *p_new_node);
protected:
void _node_removed(Node *p_node);