Commit 75eee1dd authored by Thomas Jund's avatar Thomas Jund
Browse files

..

parent 36742a28
...@@ -1047,7 +1047,7 @@ void SocialAgents::animate() ...@@ -1047,7 +1047,7 @@ void SocialAgents::animate()
if (render_anim) if (render_anim)
{ {
if(nbIterations%2==1) if(nbIterations%3==0)
{ {
getQGLWidget()->resize(800,600); getQGLWidget()->resize(800,600);
updateGL() ; updateGL() ;
...@@ -1058,7 +1058,7 @@ void SocialAgents::animate() ...@@ -1058,7 +1058,7 @@ void SocialAgents::animate()
tmpNb << std::setfill('0') << std::setw(5) << counter ; tmpNb << std::setfill('0') << std::setw(5) << counter ;
getQGLWidget()->setSnapshotCounter(++counter); getQGLWidget()->setSnapshotCounter(++counter);
QString filename("./export/meshCercleD" ); QString filename("./export/meshCercleB" );
filename.append((tmpNb.str()).c_str()); filename.append((tmpNb.str()).c_str());
filename.append(".png"); filename.append(".png");
// getQGLWidget()->setSnapshotFileName(filename); // getQGLWidget()->setSnapshotFileName(filename);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment