1
0
Fork 0

Canvas ND: fix altitude as rotation bug

;-)
This commit is contained in:
Philosopher 2014-01-28 19:39:13 -06:00
parent 4a2dab6f21
commit 83d53e906d

View file

@ -186,7 +186,7 @@ Symbol.Controller.getpos = func(obj) {
die("bad ghost of type '"~ghosttype(obj)~"'"); die("bad ghost of type '"~ghosttype(obj)~"'");
if (typeof(obj) == 'hash') if (typeof(obj) == 'hash')
if (isa(obj, geo.Coord)) if (isa(obj, geo.Coord))
return obj.latlon(); return subvec(obj.latlon(), 0, 2);
if (isa(obj, props.Node)) if (isa(obj, props.Node))
return [ return [
obj.getValue("position/latitude-deg") or obj.getValue("latitude-deg"), obj.getValue("position/latitude-deg") or obj.getValue("latitude-deg"),