Thanks for reporting this Anders, this.  The ; was indeed erroneous,
fix a bug, introduce a bug...  I've now removed the ; and checked in
this fix.

On Feb 19, 2008 2:52 PM, Anders Backman <[EMAIL PROTECTED]> wrote:
> When I build osg from svn today I got the warning:
>
>
> .\ParticleSystem.cpp(187) : warning C4390: ';' : empty controlled statement
> found; is this the intent?
>
> Looks like a "feature" to me.
>
>
>  if (currentParticle->getShape() != startParticle->getShape()); <<<
>             {
>                 startParticle->endRender();
>                 currentParticle->beginRender();
>                 startParticle = currentParticle;
>              }
>
> /Anders
>
> --
>
>
> ________________________________________________________________
>  Anders Backman               Email:    [EMAIL PROTECTED]
>  HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
>  Umea university              Cellular: +46 (0)70-392 64 67
>  S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
>                                http://www.cs.umu.se/~andersb
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to