Skip to content

Commit

Permalink
resource: use correct filesystem when renaming
Browse files Browse the repository at this point in the history
Fixes: #189
  • Loading branch information
dbartolini committed Oct 31, 2024
1 parent e602cea commit 2122e4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Changelog
**Runtime**

* Animation state machines can now contain empty animation sets.
* Data Compiler: fixed bundle generation.

0.51.0 --- 28 Oct 2024
----------------------
Expand Down
2 changes: 1 addition & 1 deletion src/resource/data_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ bool DataCompiler::compile(const char *data_dir, const char *platform_name)
bundle_fs.close(*outf);

if (success) {
RenameResult rr = data_fs.rename(temp_dest.c_str(), dest.c_str());
RenameResult rr = bundle_fs.rename(temp_dest.c_str(), dest.c_str());
success = rr.error == RenameResult::SUCCESS;
}
}
Expand Down

0 comments on commit 2122e4c

Please sign in to comment.