Skip to content

Commit

Permalink
smokeview source: fix to new blockage drawing routine (was leaving ho…
Browse files Browse the repository at this point in the history
…les in some cases)
  • Loading branch information
gforney committed Nov 9, 2024
1 parent 4148435 commit 4174c9c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Source/smokeview/drawGeometry.c
Original file line number Diff line number Diff line change
Expand Up @@ -2879,12 +2879,17 @@ void UpdateFaceListsWorker(void){
facei->dup=0;
faceim1 = meshi->face_normals_single[iface-1];
if(
facei->imax-facei->imin<=1&&facei->jmax-facei->jmin<=1&&facei->kmax-facei->kmin<=1&& // only hide duplicate one cell faces
faceim1->imin==facei->imin&&faceim1->imax==facei->imax&&
faceim1->jmin==facei->jmin&&faceim1->jmax==facei->jmax&&
faceim1->kmin==facei->kmin&&faceim1->kmax==facei->kmax&&faceim1->dir!=facei->dir
facei->imax-facei->imin<=1&&
facei->jmax-facei->jmin<=1&&
facei->kmax-facei->kmin<=1&& // only hide duplicate one cell faces
faceim1->imin==facei->imin&&
faceim1->imax==facei->imax&&
faceim1->jmin==facei->jmin&&
faceim1->jmax==facei->jmax&&
faceim1->kmin==facei->kmin&&
faceim1->kmax==facei->kmax&&
faceim1->dir!=facei->dir
){
if(*(faceim1->showtimelist_handle)==NULL)faceim1->dup=1;
if(*(facei->showtimelist_handle)==NULL){
facei->dup=1;
nhidden++;
Expand Down

0 comments on commit 4174c9c

Please sign in to comment.