Skip to content

Commit

Permalink
smokeview source: fix blockage color display when they are removeable
Browse files Browse the repository at this point in the history
  • Loading branch information
gforney committed Jan 24, 2025
1 parent ce062f3 commit 758e4c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/smokeview/drawGeometry.c
Original file line number Diff line number Diff line change
Expand Up @@ -3583,6 +3583,8 @@ void DrawFaces(){
if(nface_normals_double>0){
int j;

new_color = NULL;
old_color = NULL;
ENABLE_LIGHTING;
glMaterialfv(GL_FRONT_AND_BACK,GL_SHININESS,&block_shininess);
glMaterialfv(GL_FRONT_AND_BACK,GL_AMBIENT_AND_DIFFUSE,block_ambient2);
Expand Down

0 comments on commit 758e4c2

Please sign in to comment.