Canvas ND: fix altitude as rotation bug
;-)
This commit is contained in:
parent
4a2dab6f21
commit
83d53e906d
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||||
|
|
Loading…
Reference in a new issue