Horde3D
http://horde3d.org/forums/

crash when removing animation
http://horde3d.org/forums/viewtopic.php?f=3&t=1004
Page 1 of 1

Author:  jimbo [ 09.11.2009, 16:53 ]
Post subject:  crash when removing animation

It seems the engine (SVN) crashes when removing a stage, to reproduce the problem I've added to the knight sample in keyPressEvent():

Code:
   if(key == 267) // F10
      h3dSetupModelAnimStage( _knight, 0, 0, 0, "", false );

crash in egAnimation.cpp line 423:
Code:
         
layerWeightSum = curStage.weight;
for( size_t k = j + 1, s = _activeStages.size(); k < s; ++k )
{
      if( _animStages[_activeStages[k]]->layer == curStage.layer )  // crash here
      layerWeightSum += _animStages[_activeStages[k]]->weight;
    else
      break;
}

Author:  Volker [ 09.11.2009, 23:12 ]
Post subject:  Re: crash when removing animation

Thanks a lot for reporting this. I fixed it in the SVN.

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