From f9dea9a248841d4f3bbc630ed3dba3579c6d17f8 Mon Sep 17 00:00:00 2001 From: Michael Stenta Date: Fri, 30 Oct 2020 19:10:42 -0400 Subject: [PATCH] Expand bcscale() comment in farm_map_set_bcscale(). --- modules/farm/farm_map/farm_map.geo.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/farm/farm_map/farm_map.geo.inc b/modules/farm/farm_map/farm_map.geo.inc index b7e07e947..f62c852bb 100644 --- a/modules/farm/farm_map/farm_map.geo.inc +++ b/modules/farm/farm_map/farm_map.geo.inc @@ -55,6 +55,8 @@ function farm_map_set_bcscale($reset = FALSE) { } // Set the scale, if it has not been already. + // bcscale() sets the scale globally, and returns the previous scale, which we + // save in the static $scale variable, so that we can reset later. if (!isset($scale)) { $scale = bcscale(24); }