Allow plugin scene change signal to report null for empty scenes.

This commit is contained in:
Jared
2018-09-17 12:14:10 +03:00
parent f84893f709
commit f115f00ec6
2 changed files with 3 additions and 4 deletions

View File

@@ -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);
}