yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00606
Re: changes needing review.
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Václav S(milauer <eudoxos@xxxxxxxx>
-
Date:
Tue, 02 Sep 2008 20:31:04 +0200
-
In-reply-to:
<20080902143632.1715717f@szpak>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.16) Gecko/20080724 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666
> 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