Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
remove tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
malytomas committed Dec 31, 2023
1 parent a878889 commit 72b8d1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sources/generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ bpy.ops.object.select_all(action='DESELECT')
{
CAGE_LOG(SeverityEnum::Info, "generator", Stringizer() + "planet name: '" + planetName + "'");
CAGE_LOG(SeverityEnum::Info, "generator", Stringizer() + "tmp directory: " + baseDirectory);
pathRemove(baseDirectory);

terrainPreseed();

Expand All @@ -456,6 +457,7 @@ bpy.ops.object.select_all(action='DESELECT')

const String outDirectory = findOutputDirectory(overrideOutputPath);
CAGE_LOG(SeverityEnum::Info, "generator", Stringizer() + "output directory: " + outDirectory);
CAGE_ASSERT(!pathIsDirectory(outDirectory) && !pathIsFile(outDirectory));
pathMove(baseDirectory, outDirectory);

if (configPreviewEnable)
Expand Down

0 comments on commit 72b8d1d

Please sign in to comment.