aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/sprite_region_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-01-23 19:51:51 -0300
committerJuan Linietsky2016-01-23 19:51:51 -0300
commit6c27df8df609337867c108c5adb66174393e190b (patch)
tree11c1e8ad5f1f844fe6af2032784fd8e2a2951420 /tools/editor/plugins/sprite_region_editor_plugin.cpp
parenta2992d5955ff4f84f829dcab4859b4f5b5399a2c (diff)
downloadgodot-6c27df8df609337867c108c5adb66174393e190b.tar.gz
godot-6c27df8df609337867c108c5adb66174393e190b.tar.zst
godot-6c27df8df609337867c108c5adb66174393e190b.zip
-Fixes a bunch of stdout errors, closes #2763 closes #2731
Diffstat (limited to 'tools/editor/plugins/sprite_region_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/sprite_region_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/sprite_region_editor_plugin.cpp b/tools/editor/plugins/sprite_region_editor_plugin.cpp
index 725de19dd..8dfa8a60a 100644
--- a/tools/editor/plugins/sprite_region_editor_plugin.cpp
+++ b/tools/editor/plugins/sprite_region_editor_plugin.cpp
@@ -367,7 +367,7 @@ void SpriteRegionEditor::edit(Node *p_sprite)
{
if (p_sprite) {
node=p_sprite->cast_to<Sprite>();
- node->connect("exit_tree",this,"_node_removed",varray(),CONNECT_ONESHOT);
+ node->connect("exit_tree",this,"_node_removed",varray(p_sprite),CONNECT_ONESHOT);
} else {
if (node)
node->disconnect("exit_tree",this,"_node_removed");