You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!(gmt_M_360_range (GMT->common.R.wesn[XLO], GMT->common.R.wesn[XHI]) && gmt_M_180_range (GMT->common.R.wesn[YLO], GMT->common.R.wesn[YHI]))) return; /* Gave -Rd or -Rg so need to probe more*/
16581
16582
if (gmt_M_is_azimuthal (GMT) && doubleAlmostEqual (fabs (GMT->current.proj.lat0), 90.0) && !GMT->common.R.oblique) return; /* Nothing to do */
16582
16583
if (GMT->current.proj.projection == GMT_PROJ4_SPILHAUS) return; /* This is one is square */
16583
-
gmt_M_memcpy (wesn, GMT->common.R.wesn, 4, double); /* Save the region we were given */
16584
-
16585
-
if (gmt_map_setup (GMT, GMT->common.R.wesn)) /* Set up projection */
16584
+
gmt_M_memcpy(wesn, GMT->common.R.wesn, 4, double); /* Save the region we were given */
16585
+
/* This is a throwaway probe: gmt_map_setup scales the projection parameters (e.g. pars[2] /= M_PR_DEG for -Jq scale),
16586
+
* so we must restore the raw pars and units_pr_degree flag afterwards or the caller's real gmt_map_setup will scale them
16587
+
* a second time and collapse the map (https://github.com/GenericMappingTools/gmt issue #8963). */
0 commit comments