mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 05:00:06 -05:00
--Bug fixes
-Forward slash in file path was accidentally being removed.
This commit is contained in:
parent
2b60d2b87e
commit
d68deb1255
@ -347,16 +347,16 @@ static string MakeSingleFilename(const string& path, const string& out, const st
|
||||
}
|
||||
else if (useFinalName)
|
||||
{
|
||||
filename = path + prefix + finalName + suffix + "." + format;
|
||||
filename = path + CleanPath(prefix + finalName + suffix + "." + format);
|
||||
}
|
||||
else
|
||||
{
|
||||
ostringstream fnstream;
|
||||
fnstream << path << prefix << setfill('0') << setprecision(0) << fixed << setw(padding) << i << suffix << "." << format;
|
||||
filename = fnstream.str();
|
||||
fnstream << prefix << setfill('0') << setprecision(0) << fixed << setw(padding) << i << suffix << "." << format;
|
||||
filename = path + CleanPath(fnstream.str());
|
||||
}
|
||||
|
||||
return CleanPath(filename);
|
||||
return filename;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -371,8 +371,8 @@ static string MakeSingleFilename(const string& path, const string& out, const st
|
||||
static string MakeAnimFilename(const string& path, const string& prefix, const string& suffix, const string& format, glm::uint padding, size_t ftime)
|
||||
{
|
||||
ostringstream fnstream;
|
||||
fnstream << path << prefix << setfill('0') << setprecision(0) << fixed << setw(padding) << ftime << suffix << format;
|
||||
return CleanPath(fnstream.str());
|
||||
fnstream << prefix << setfill('0') << setprecision(0) << fixed << setw(padding) << ftime << suffix << format;
|
||||
return path + CleanPath(fnstream.str());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user