mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -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)
|
else if (useFinalName)
|
||||||
{
|
{
|
||||||
filename = path + prefix + finalName + suffix + "." + format;
|
filename = path + CleanPath(prefix + finalName + suffix + "." + format);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ostringstream fnstream;
|
ostringstream fnstream;
|
||||||
fnstream << path << prefix << setfill('0') << setprecision(0) << fixed << setw(padding) << i << suffix << "." << format;
|
fnstream << prefix << setfill('0') << setprecision(0) << fixed << setw(padding) << i << suffix << "." << format;
|
||||||
filename = fnstream.str();
|
filename = path + CleanPath(fnstream.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
return CleanPath(filename);
|
return filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <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)
|
static string MakeAnimFilename(const string& path, const string& prefix, const string& suffix, const string& format, glm::uint padding, size_t ftime)
|
||||||
{
|
{
|
||||||
ostringstream fnstream;
|
ostringstream fnstream;
|
||||||
fnstream << path << prefix << setfill('0') << setprecision(0) << fixed << setw(padding) << ftime << suffix << format;
|
fnstream << prefix << setfill('0') << setprecision(0) << fixed << setw(padding) << ftime << suffix << format;
|
||||||
return CleanPath(fnstream.str());
|
return path + CleanPath(fnstream.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user