← Back to team overview

yade-dev team mailing list archive

Re: changes needing review.

 

> 1. yade.cpp: (I wanted more versatile compile info)
>
> void printHelp()
> {
> 	string flags("");
> 	flags=flags+"   PREFIX=" PREFIX  "\n";
> 	flags=flags+"   SUFFIX=" SUFFIX "\n";
> 	#ifdef YADE_DEBUG
> 		flags+="   YADE_DEBUG (debug information)\n";
> 	#endif
> 	#ifdef NDEBUG
> 		flags+="   NDEBUG (heavy optimizations, static_casts everywhere, asserts() are no-ops)\n";
> 	#endif
> ///........
>   
Seems ok to me.
> void SimulationController::timerEvent( QTimerEvent* )
> {
> 	doUpdate(); /* update the controller, like iteration number etc */
> 	if(hasSimulation && (Omega::instance().isRunning() || syncRunning))
> 	{
> 		/* update GLViews */
> 		YadeQtMainWindow::self->redrawAll(true);
> 		if(sync && syncRunning){ Omega::instance().spawnSingleSimulationLoop(); }
> 	}
> }
>   
Seems ok as well, but better try.



References