Skip to content

Commit

Permalink
Merge branch 'develop' into 'develop'
Browse files Browse the repository at this point in the history
Set correct Z limits for new 3d transformations

See merge request Scientific-IT-Systems/gr!779
  • Loading branch information
jheinen committed Dec 20, 2021
2 parents 81110fd + 32bf632 commit 66d110f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/gr/gr.c
Original file line number Diff line number Diff line change
Expand Up @@ -12578,6 +12578,9 @@ void gr_setwindow3d(double xmin, double xmax, double ymin, double ymax, double z
ix.zmin = zmin;
ix.zmax = zmax;

wx.zmin = zmin;
wx.zmax = zmax;

if (flag_graphics)
gr_writestream("<setwindow3d xmin=\"%g\" xmax=\"%g\" ymin=\"%g\" ymax=\"%g\" zmin=\"%g\" zmax=\"%g\"/>\n", xmin,
xmax, ymin, ymax, zmin, zmax);
Expand Down

0 comments on commit 66d110f

Please sign in to comment.