summaryrefslogtreecommitdiff
path: root/editor/editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-11-04 21:47:10 +0100
committerGitHub <noreply@github.com>2018-11-04 21:47:10 +0100
commit11076021544cf18687df4f98a37b72d7b3117cf4 (patch)
treebf8c9400125fc81c48dfc6a79af669b86622ebc2 /editor/editor_plugin.cpp
parent121cead38e5ea84ec22139df02eee56d822290b7 (diff)
parentf115f00ec6b93d1f32ad80be08daad60ab39efd0 (diff)
Merge pull request #22178 from avencherus/scene-change-signal
Allow plugin scene change signal to report null for empty scenes.
Diffstat (limited to 'editor/editor_plugin.cpp')
-rw-r--r--editor/editor_plugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor_plugin.cpp b/editor/editor_plugin.cpp
index dd3a8aa307..86b2db877e 100644
--- a/editor/editor_plugin.cpp
+++ b/editor/editor_plugin.cpp
@@ -475,7 +475,6 @@ void EditorPlugin::set_force_draw_over_forwarding_enabled() {
}
void EditorPlugin::notify_scene_changed(const Node *scn_root) {
- if (scn_root == NULL) return;
emit_signal("scene_changed", scn_root);
}