diff options
author | Jared <avencherus@gmail.com> | 2018-09-17 12:14:10 +0300 |
---|---|---|
committer | Jared <avencherus@gmail.com> | 2018-11-03 00:11:02 +0200 |
commit | f115f00ec6b93d1f32ad80be08daad60ab39efd0 (patch) | |
tree | 47c60bb1049c97943ba6824a504293038cdea4ae /editor | |
parent | f84893f70901dfca356d949ea1585a56154cb59f (diff) |
Allow plugin scene change signal to report null for empty scenes.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_plugin.cpp | 1 |
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); } |