Skip to content

Commit

Permalink
GR: keep transformation for default projection
Browse files Browse the repository at this point in the history
  • Loading branch information
jheinen committed Sep 16, 2024
1 parent b0eb48b commit fed7068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/gr/gr.c
Original file line number Diff line number Diff line change
Expand Up @@ -9310,7 +9310,7 @@ void gr_surface(int nx, int ny, double *px, double *py, double *pz, int option)
gks_set_fill_color_index(color);
}

gks_select_xform(MODERN_NDC);
if (modern_projection_type) gks_select_xform(MODERN_NDC);

np = 4;
gks_fillarea(np, xn, yn);
Expand All @@ -9321,7 +9321,7 @@ void gr_surface(int nx, int ny, double *px, double *py, double *pz, int option)
gks_polyline(np, xn, yn);
}

gks_select_xform(tnr);
if (modern_projection_type) gks_select_xform(tnr);
}

j--;
Expand Down

0 comments on commit fed7068

Please sign in to comment.