Horde3D
http://horde3d.org/forums/

animation framecount
http://horde3d.org/forums/viewtopic.php?f=1&t=827
Page 1 of 1

Author:  torsk [ 26.06.2009, 08:24 ]
Post subject:  animation framecount

Hello,

I am not sure if this is a typo or bug or if I've misunderstood something about the new resource api, but getting animation resource framecount happens like this:
Code:
Horde3D::getResourceParamI( m_animResource, AnimationResData::PI_EntityFrameCount, 0, AnimationResData::PI_EntityFrameCount );


instead of what I would expect to be correct:
Code:
Horde3D::getResourceParamI( m_animResource, AnimationResData::E_AnimEntity, 0, AnimationResData::PI_EntityFrameCount );



Code I have is the latest from SVN.
Just wondering :D

Author:  marciano [ 26.06.2009, 23:10 ]
Post subject:  Re: animation framecount

Thanks for the hint, that is indeed a copy&paste bug.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/