mirror of
https://github.com/nasa/trick.git
synced 2025-01-07 05:38:46 +00:00
Setting framelog sample size does not work.
Setting the frame log size only resized the time line graph, not the normal frame log groups. Added code to change the size of the normal frame log groups in addition to the time line. refs #177
This commit is contained in:
parent
41c8637826
commit
f4950b736b
@ -469,6 +469,12 @@ int Trick::FrameLog::set_max_samples(int num) {
|
||||
timeline[ii] = (Trick::timeline_t *)realloc( timeline[ii], tl_max_samples*sizeof(Trick::timeline_t));
|
||||
timeline_other[ii] = (Trick::timeline_t *)realloc( timeline_other[ii], tl_max_samples*sizeof(Trick::timeline_t));
|
||||
}
|
||||
std::vector< Trick::FrameDataRecordGroup *>::iterator it ;
|
||||
for ( it = drg_users.begin() ; it != drg_users.end() ; it++ ) {
|
||||
(*it)->set_max_buffer_size(num) ;
|
||||
}
|
||||
drg_trick->set_max_buffer_size(num) ;
|
||||
drg_frame->set_max_buffer_size(num) ;
|
||||
}
|
||||
return(0) ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user