Opened 14 years ago

Last modified 6 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

Description

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 Changed 14 years ago by martinl

Component: defaultTcl

comment:2 Changed 14 years ago by neteler

Component: TclNVIZ

comment:3 Changed 6 years ago by neteler

Milestone: 6.4.06.4.6
Note: See TracTickets for help on using tickets.