From f115f00ec6b93d1f32ad80be08daad60ab39efd0 Mon Sep 17 00:00:00 2001 From: Jared Date: Mon, 17 Sep 2018 12:14:10 +0300 Subject: Allow plugin scene change signal to report null for empty scenes. --- editor/editor_plugin.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'editor/editor_plugin.cpp') 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); } -- cgit v1.2.3