소스 검색

Revert "Tweak lightmapper warning message to mention Rosetta emulation on macOS"

This reverts commit 1e3166115acf9980cfbcc0d7ea760fc38e6dcb65.

This is no longer needed after #48455.
Rémi Verschelde 4 년 전
부모
커밋
c3732f0da8
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      editor/plugins/baked_lightmap_editor_plugin.cpp

+ 1 - 5
editor/plugins/baked_lightmap_editor_plugin.cpp

@@ -70,11 +70,7 @@ void BakedLightmapEditorPlugin::_bake_select_file(const String &p_file) {
 				EditorNode::get_singleton()->show_warning(TTR("Some mesh is invalid. Make sure the UV2 channel values are contained within the [0.0,1.0] square region."));
 				break;
 			case BakedLightmap::BAKE_ERROR_NO_LIGHTMAPPER:
-#ifdef OSX_ENABLED
-				EditorNode::get_singleton()->show_warning(TTR("Godot editor was built without ray tracing support; lightmaps can't be baked.\nIf you are using an Apple Silicon-based Mac, try forcing Rosetta emulation on Godot.app in the application settings\nthen restart the editor."));
-#else
-				EditorNode::get_singleton()->show_warning(TTR("Godot editor was built without ray tracing support; lightmaps can't be baked."));
-#endif
+				EditorNode::get_singleton()->show_warning(TTR("Godot editor was built without ray tracing support, lightmaps can't be baked."));
 				break;
 			default: {
 			}