Hi Mike,

Well spotted, this is a bug.  I've now added the assignement of the
_simulationTime and checked this fix into svn/trunk and the OSG-3.0
branch.

Cheers,
Robert.

On Mon, Aug 15, 2011 at 2:16 PM, Mike Connell <[email protected]> wrote:
> Hi!
>
> I just noticed that whilst the osg::FrameStamp copy constructor copies the
> _simulationTime variable, the assignment operator ignores it.
>
> If you have a freshly constructed FrameStamp and then assign another to it,
> your simulation time will remain as 0.0 whilst the other variables will be
> correctly copied over.
>
> Is there some cleverness here that I'm missing, or is it just a bug?
>
> best wishes
>
> Mike
>
> _______________________________________________
> 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