We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents caf918f + 002d604 commit b6b3ec5Copy full SHA for b6b3ec5
scene/gui/texture_progress.cpp
@@ -511,7 +511,7 @@ void TextureProgress::_notification(int p_what) {
511
}
512
513
// Draw a reference cross.
514
- if (Engine::get_singleton()->is_editor_hint()) {
+ if (Engine::get_singleton()->is_editor_hint() && is_inside_tree() && get_tree()->get_edited_scene_root() && get_tree()->get_edited_scene_root()->get_parent()->is_a_parent_of(this)) {
515
Point2 p;
516
517
if (nine_patch_stretch) {
0 commit comments