← Back to team overview

yade-dev team mailing list archive

[svn] r1637 - trunk/gui/qt3

 

Author: eudoxos
Date: 2009-01-24 06:55:23 +0100 (Sat, 24 Jan 2009)
New Revision: 1637

Modified:
   trunk/gui/qt3/GLSimulationPlayerViewer.cpp
Log:
Fix previous commit, overlooked. sorry.


Modified: trunk/gui/qt3/GLSimulationPlayerViewer.cpp
===================================================================
--- trunk/gui/qt3/GLSimulationPlayerViewer.cpp	2009-01-24 05:46:31 UTC (rev 1636)
+++ trunk/gui/qt3/GLSimulationPlayerViewer.cpp	2009-01-24 05:55:23 UTC (rev 1637)
@@ -167,13 +167,14 @@
 			sqlite3x::sqlite3_command cmd(*con,"select bodyTable,iter from 'records' ORDER BY iter;");
 			sqlite3x::sqlite3_cursor reader=cmd.executecursor();
 			assert(reader.colcount()==1);
-			long maxIter=0
+			long maxIter=0;
 			while(reader.step()){
 				xyzNames.push_back(reader.getstring(0)); // first column
 				LOG_DEBUG("Added table "<<reader.getstring(0));
 				maxIter=reader.getint(1);
 			}
-			Omega::instance().getRootBody()->stopAtIter=maxIter;
+			Omega::instance().getRootBody()->stopAtIteration=maxIter;
+			LOG_INFO("Setting stopAtIter="<<maxIter);
 		}
 	}
 	/* Filters */