소스 검색

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

Show `TextureProgressBar` radial center cross only when editing the scene
Rémi Verschelde 9 달 전
부모
커밋
dbb9c9937d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scene/gui/texture_progress_bar.cpp

+ 1 - 1
scene/gui/texture_progress_bar.cpp

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