> 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.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp