summaryrefslogtreecommitdiffstats
path: root/editor/plugins/sprite_editor_plugin.h
diff options
context:
space:
mode:
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);