mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 12:39:24 -05:00
fixing property change order profile save
This commit is contained in:
@@ -402,8 +402,8 @@ int saveLastChangeToProfile(lua_State* L) {
|
||||
std::string dataString = "${ASSETS}/";
|
||||
std::string assetPath = absPath(fmt::format("{}{}.scene", dataString, asset));
|
||||
std::string tempAssetPath = absPath(fmt::format("{}{}.scene.tmp", dataString, asset));
|
||||
std::string strReplace = "--customizations";
|
||||
std::string strNew = fmt::format("{}\n{}",strReplace, actualLastLine);
|
||||
std::string strReplace = "--customizationsend";
|
||||
std::string strNew = fmt::format("{}\n{}",actualLastLine, strReplace);
|
||||
std::ifstream filein(assetPath);
|
||||
std::ofstream fileout(tempAssetPath);
|
||||
if(!filein) {
|
||||
|
||||
Reference in New Issue
Block a user