Skip to content

Commit

Permalink
Fix material/ folder being created below the working directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 28, 2021
1 parent 87ab248 commit 6ae7c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiantcore/shaders/Doom3ShaderSystem.cpp
Expand Up @@ -451,7 +451,7 @@ void Doom3ShaderSystem::saveMaterial(const std::string& name)

outputPath /= material->getShaderFileInfo().fullPath();

auto outputDir = os::getContainingDir(outputPath.string());
auto outputDir = os::getDirectory(outputPath.string());
if (!os::fileOrDirExists(outputDir))
{
rMessage() << "Creating mod materials path: " << outputDir << std::endl;
Expand Down

0 comments on commit 6ae7c9d

Please sign in to comment.