Skip to content

Commit

Permalink
smokeview source: reset render status array so one may render images …
Browse files Browse the repository at this point in the history
…more than once without reloading a file
  • Loading branch information
gforney committed May 21, 2024
1 parent c56324f commit 8926640
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/smokeview/menus.c
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,12 @@ void RenderState(int onoff){
int scale = 1;

if(onoff==RENDER_ON){
int n;

if(render_status == RENDER_ON)return;
for(n = 0; n < nglobal_times; n++){
render_frame[n] = 0;
}
render_status = RENDER_ON;
render_firsttime = YES;
update_screeninfo = 1;
Expand Down

0 comments on commit 8926640

Please sign in to comment.