Skip to content
Snippets Groups Projects
Commit a8ba2f98 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 3519d373
No related branches found
No related tags found
No related merge requests found
// $Id: GUI.cpp,v 1.146 2002-01-27 20:47:33 geuzaine Exp $
// $Id: GUI.cpp,v 1.147 2002-01-27 21:24:50 geuzaine Exp $
// To make the interface as visually consistent as possible, please:
// - use the IW, BB, BH, BW and WB values
......@@ -934,13 +934,17 @@ void GUI::set_anim_buttons(int mode){
void GUI::check_anim_buttons(){
int i, play=0;
if(CTX.post.anim_cycle){
play = 1;
}
else{
for(i=0 ; i<List_Nbr(CTX.post.list) ; i++){
if(((Post_View*)List_Pointer(CTX.post.list,i))->NbTimeStep > 1 ||
CTX.post.anim_cycle){
if(((Post_View*)List_Pointer(CTX.post.list,i))->NbTimeStep > 1){
play = 1 ;
break ;
}
}
}
if(!play){
g_status_butt[5]->deactivate();
g_status_butt[6]->deactivate();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment