Show TextureProgressBar radial cross only when editing the scene

This commit is contained in:
arkology 2024-11-25 21:00:50 +03:00
parent 0c45ace151
commit 15bd2a9bc1

View File

@ -536,7 +536,7 @@ void TextureProgressBar::_notification(int p_what) {
}
// Draw a reference cross.
if (Engine::get_singleton()->is_editor_hint()) {
if (is_part_of_edited_scene()) {
Point2 p;
if (nine_patch_stretch) {