mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-01 10:30:08 -05:00
Use a non-imbued stringstream to generate output filename
Previously, 'os' had imbue(std::locale("")) called on it, which resulted in a localised stream that inserted commas into numbers. This is inconvenient, as it inserts commas into the output filename for frame numbers of 1,000 or higher
This commit is contained in:
parent
3d206c1d22
commit
b5b660e2a0
@ -299,9 +299,9 @@ bool EmberAnimate(EmberOptions& opt)
|
||||
|
||||
if (opt.Out().empty())
|
||||
{
|
||||
os.str("");
|
||||
os << inputPath << opt.Prefix() << setfill('0') << setw(5) << ftime << opt.Suffix() << "." << opt.Format();
|
||||
filename = os.str();
|
||||
ostringstream fnstream;
|
||||
fnstream << inputPath << opt.Prefix() << setfill('0') << setw(5) << ftime << opt.Suffix() << "." << opt.Format();
|
||||
filename = fnstream.str();
|
||||
}
|
||||
|
||||
if (opt.WriteGenome())
|
||||
|
Loading…
Reference in New Issue
Block a user