From 83d53e906dca382468339cc090be19f937c63d2f Mon Sep 17 00:00:00 2001 From: Philosopher Date: Tue, 28 Jan 2014 19:39:13 -0600 Subject: [PATCH] Canvas ND: fix altitude as rotation bug ;-) --- Nasal/canvas/MapStructure.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/canvas/MapStructure.nas b/Nasal/canvas/MapStructure.nas index a85879050..0afdcd213 100644 --- a/Nasal/canvas/MapStructure.nas +++ b/Nasal/canvas/MapStructure.nas @@ -186,7 +186,7 @@ Symbol.Controller.getpos = func(obj) { die("bad ghost of type '"~ghosttype(obj)~"'"); if (typeof(obj) == 'hash') if (isa(obj, geo.Coord)) - return obj.latlon(); + return subvec(obj.latlon(), 0, 2); if (isa(obj, props.Node)) return [ obj.getValue("position/latitude-deg") or obj.getValue("latitude-deg"),