Merge pull request #99685 from arkology/texture-progress-cross-plugin-friendly

Show `TextureProgressBar` radial center cross only when editing the scene
This commit is contained in:
Rémi Verschelde 2024-11-29 22:02:26 +01:00
commit dbb9c9937d
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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) {