mirror of
https://github.com/nasa/trick.git
synced 2025-04-11 21:30:24 +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
030f44132c
commit
6461b50d7d
@ -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…
x
Reference in New Issue
Block a user