๋ง์คํฐ ๋ธ๋์น.
Godot๋ ์
๋ฐ์ดํธ ํ ๋ CanvasItemEditor์ ์ค๋ฅ๋ฅผ ํ์ํฉ๋๋ค.
์๋ง๋ # 11446 ์ดํ๋ก ์ฌ๊ธฐ์์์ ๊ฒ์ ๋๋ค.
์ค๋ฅ ์คํธ์ ๋ฐฉ์งํ๊ธฐ ์ํด 2696 ํ _draw_locks_and_groups(editor->get_edited_scene(), transform);
์ ๋ ๋ค๋ฅธ NULL ๊ฒ์ฌ๋ฅผ ์ถ๊ฐํด์ผํ๋ค๊ณ ์๊ฐํฉ๋๋ค. ์ด๊ฒ์ ์๋ํด ๋ณผ ์ ์์ต๋๊น?
if (editor->get_edited_scene()) {
_draw_locks_and_groups(editor->get_edited_scene(), transform);
}
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ค๋ฅ ์คํธ์ ๋ฐฉ์งํ๊ธฐ ์ํด 2696 ํ
_draw_locks_and_groups(editor->get_edited_scene(), transform);
์ ๋ ๋ค๋ฅธ NULL ๊ฒ์ฌ๋ฅผ ์ถ๊ฐํด์ผํ๋ค๊ณ ์๊ฐํฉ๋๋ค. ์ด๊ฒ์ ์๋ํด ๋ณผ ์ ์์ต๋๊น?