Godot: Errors when CanvasItemEditor updates

Created on 21 Sep 2017  ·  1Comment  ·  Source: godotengine/godot

Master branch.

Godot sprays errors on the CanvasItemEditor, when updating:
2017-09-21-140659_630x260_scrot

Probably here since #11446.

bug editor

Most helpful comment

I'm guessing that we should add another NULL check at line 2696 _draw_locks_and_groups(editor->get_edited_scene(), transform); to prevent the error spamming thing. Can you try this:

if (editor->get_edited_scene()) {
    _draw_locks_and_groups(editor->get_edited_scene(), transform);
}

>All comments

I'm guessing that we should add another NULL check at line 2696 _draw_locks_and_groups(editor->get_edited_scene(), transform); to prevent the error spamming thing. Can you try this:

if (editor->get_edited_scene()) {
    _draw_locks_and_groups(editor->get_edited_scene(), transform);
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Angluca picture Angluca  ·  100Comments

adolson picture adolson  ·  87Comments

RyanBram picture RyanBram  ·  101Comments

alelepd picture alelepd  ·  187Comments

RiverMesa picture RiverMesa  ·  142Comments