Skip to content

Commit

Permalink
Merge pull request firemodels#1913 from gforney/master
Browse files Browse the repository at this point in the history
smokeview source: fix render image file names when only hvac values a…
  • Loading branch information
gforney authored May 21, 2024
2 parents 54d70af + 8926640 commit 7381cf6
Show file tree
Hide file tree
Showing 2 changed files with 6 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
1 change: 1 addition & 0 deletions Source/smokeview/update.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ void UpdateShow(void){
}
if(showsmoke==1||showpatch==1||showslice==1||showvslice==1||showzone==1||showiso==1)RenderTime=1;
if(showtours==1||show3dsmoke==1||touring==1||showvolrender==1)RenderTime=1;
if(showhvacflag == 1)RenderTime = 1;
if(showshooter==1)RenderTime=1;
if(plotstate==STATIC_PLOTS&&nplot3dloaded>0&&plotn>0&&plotn<=numplot3dvars)showplot3d=1;
if(showplot3d==1){
Expand Down

0 comments on commit 7381cf6

Please sign in to comment.