We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40a2ec0 commit 4a94affCopy full SHA for 4a94aff
Source/System/RTETools.cpp
@@ -222,6 +222,10 @@ namespace RTE {
222
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
223
224
std::string GetCaseInsensitiveFullPath(const std::string &fullPath) {
225
+ if (std::filesystem::exists(fullPath)) {
226
+ return fullPath;
227
+ }
228
+
229
std::filesystem::path inspectedPath = System::GetWorkingDirectory();
230
const std::filesystem::path relativeFilePath = std::filesystem::path(fullPath).lexically_relative(inspectedPath);
231
0 commit comments