Fix godot spraying errors about a null check

This commit is contained in:
Gilles Roudiere 2017-09-21 21:59:38 +02:00
parent bf371dcb32
commit e2145bc960

View file

@ -2693,6 +2693,7 @@ void CanvasItemEditor::_draw_viewport() {
_draw_grid();
_draw_selection();
_draw_axis();
if (editor->get_edited_scene())
_draw_locks_and_groups(editor->get_edited_scene(), transform);
RID ci = viewport->get_canvas_item();