소스 검색

Shader Baker: Build when `deprecated=no`

Shader Baker was using the unadorned `VERSION_NUMBER` and `VERSION_HASH` symbols,
which are no longer defined when `deprecated=no` is set.
Mike Owens 3 달 전
부모
커밋
5f2eb6de8c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      editor/plugins/shader_baker_export_plugin.cpp

+ 2 - 2
editor/plugins/shader_baker_export_plugin.cpp

@@ -111,9 +111,9 @@ bool ShaderBakerExportPlugin::_begin_customize_resources(const Ref<EditorExportP
 
 	StringBuilder to_hash;
 	to_hash.append("[GodotVersionNumber]");
-	to_hash.append(VERSION_NUMBER);
+	to_hash.append(GODOT_VERSION_NUMBER);
 	to_hash.append("[GodotVersionHash]");
-	to_hash.append(VERSION_HASH);
+	to_hash.append(GODOT_VERSION_HASH);
 	to_hash.append("[Renderer]");
 	to_hash.append(shader_cache_renderer_name);
 	customization_configuration_hash = to_hash.as_string().hash64();