Opened 15 years ago

Last modified 7 years ago

#45 new defect

NVIZ Nget_real_position somtimes after Nload_3dview returns wrong FROM_HEIGHT value

Reported by: marisn Owned by: grass-dev@…
Priority: minor Milestone: 6.4.6
Component: Tcl/Tk NVIZ Version: svn-trunk
Keywords: nviz Cc:
CPU: Unspecified Platform: Unspecified


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).

Change History (3)

comment:1 by martinl, 15 years ago

Component: defaultTcl

comment:2 by neteler, 15 years ago

Component: TclNVIZ

comment:3 by neteler, 7 years ago

Note: See TracTickets for help on using tickets.