From 27444d758a36c2686ad858f3fb2dcf359f9012c6 Mon Sep 17 00:00:00 2001 From: Joaquim Date: Thu, 23 Apr 2026 01:03:19 +0100 Subject: [PATCH] surface: issue with cartesian ubites in -I. Fix #8476 Assisted-by: Claide Sonner 4.6 --- src/gmt_support.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gmt_support.c b/src/gmt_support.c index c5e56ec4126..bb2482c3424 100644 --- a/src/gmt_support.c +++ b/src/gmt_support.c @@ -8061,6 +8061,8 @@ void gmt_increment_adjust (struct GMT_CTRL *GMT, double *wesn, double *inc, enum } } + GMT->common.R.inc[GMT_X] = inc[GMT_X]; /* Update common.R.inc with converted values so subsequent GMT_Create_Data calls use degrees */ + GMT->common.R.inc[GMT_Y] = inc[GMT_Y]; GMT->current.io.inc_code[GMT_X] = GMT->current.io.inc_code[GMT_Y] = 0; /* Processed, so resetting these */ }