pull/2/head
ink-soul 2023-06-01 17:26:15 +08:00
parent fc8a577516
commit b2178a2ab6
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ std::string GUIFunction::openFileFolderDialog()
COMDLG_FILTERSPEC fileType[] = COMDLG_FILTERSPEC fileType[] =
{ {
{L"compled shader",L"*.spv*"},
{L"gltf model files",L"*.gltf*"}, {L"gltf model files",L"*.gltf*"},
{L"gltf model files",L"*.GLTF*"}, {L"gltf model files",L"*.GLTF*"},

View File

@ -1672,7 +1672,7 @@
std::string strFilePath; std::string strFilePath;
strFilePath = guiFunc.openFileFolderDialog(); strFilePath = guiFunc.openFileFolderDialog();
filePath.glTFModelFilePath = strFilePath; filePath.modelVertShaderPath = strFilePath;
loadAssets(); loadAssets();
} }