Hi pp,

Did you notice the same behavior with the current svn version ? There
are a lot of fixed bug since the 2.8.xx about osgAnimation

Cheers,
Cedric

-- 
+33 659 598 614  Cedric Pinson mailto:[email protected]
http://www.plopbyte.net


On Mon, 2009-10-26 at 11:08 +0100, [email protected] wrote:
> We noticed a "Bug" in osgAnimation of the stable osg release 2.8.2, and 
> only on Linux ( Ubuntu 9.04 ), which does not occur on Windows with 
> Visual Studio 2005.
> When writing out an osgAnimation programm to a osg file, the process 
> stops before writing keyframe data:
> 
> Node {
>  nodeMask 0xffffffff
>  cullingActive TRUE
>  UpdateCallbacks {
>    osgAnimation::BasicAnimationManager {
>      num_animations 1
>      osgAnimation::Animation {
>        name "myTestanimation"
>        num_channels 1
>        Channel {
>          name "position"
>          target "whatever"
>          Keyframes "Vec3" 2 {
> 
> In Debug Mode we figured out, that the problem comes from 
> src/osgplugins/osganimation/ReaderWriter.cpp  Line 273, 274, pointer kk 
> points to adresse 0x0 after dynamic_cast
> 
> osgAnimation::Vec3KeyframeContainer* kk = 
> dynamic_cast<osgAnimation::Vec3KeyframeContainer*>(kf);
> fw.indent() << "key " << (*kk)[k].getTime() << " " <<  
> (*kk)[k].getValue() << std::endl;
> 
> Source Code Attached
> 
> Cheers, searching for the Pivot of my Soul, PP !!!
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to