Horde3D

Next-Generation Graphics Engine
It is currently 29.03.2024, 13:59

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 09.11.2009, 16:53 
Offline

Joined: 10.04.2008, 09:13
Posts: 86
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;
}


Top
 Profile  
Reply with quote  
PostPosted: 09.11.2009, 23:12 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Thanks a lot for reporting this. I fixed it in the SVN.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group