#45: NVIZ Nget_real_position somtimes after Nload_3dview returns wrong
FROM_HEIGHT value
---------------------+------------------------------------------------------
Reporter: marisn | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-trunk
Keywords: nviz |
---------------------+------------------------------------------------------
After loading 3D state with Nload_3dview, Nget_real_position sometimes
returns wrong FROM_HEIGHT (elev,height) value ([lindex [Nget_real_position
1] 2]). When value is wrong, it is between current height value and value
from 3d view file.
Loading same 3D state for second time sometimes fixes problem and height
is set to FROM_HEIGHT value as in 3d.view file.
If somebody understands why Nget_real_position Z value isn't set to
FROM_HEIGHT or how to get FROM_HEIGHT value, one can fix load_3dview
procedure in visualization/nviz/scripts/nviz2.2_script (line ~722).