Skip to content
Snippets Groups Projects
Commit 5304efb8 authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

fix for negative frames (#86)

parent 3dc868ae
No related branches found
No related tags found
No related merge requests found
Pipeline #13911 passed
...@@ -129,7 +129,7 @@ bool Method_D::Process (const PedData& peddata,const std::string& scriptsLocatio ...@@ -129,7 +129,7 @@ bool Method_D::Process (const PedData& peddata,const std::string& scriptsLocatio
int frid = frameNr + minFrame; int frid = frameNr + minFrame;
//padd the frameid with 0 //padd the frameid with 0
std::ostringstream ss; std::ostringstream ss;
ss << std::setw(5) << std::setfill('0') << frid; ss << std::setw(5) << std::setfill('0') << std::internal << frid;
const std::string str_frid = ss.str(); const std::string str_frid = ss.str();
if(!(frid%50)) if(!(frid%50))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment