#46: NVIZ fly mode broken on 64bit systems
---------------------+------------------------------------------------------
Reporter: marisn | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: svn-trunk
Keywords: nviz |
---------------------+------------------------------------------------------
Fly mode in NVIZ is broken - when flying around, camera moves for some sec
and then resets back to it's initial position.
Buggy on 64bit Ubuntu 7.10 and 64bit OpenSuSE 10.3 (both use Nvidia
drivers) with GRASS 6.2.2, 6.2.3, current trunk. 32bit Gentoo (intel
driver) with current trunk is not affected - it must be a 64bit problem.
#46: NVIZ fly mode broken on 64bit systems
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.1
Component: NVIZ | Version: svn-trunk
Keywords: nviz | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by kwasnicki):
looks like the problem is a float overflow in
togl_flythrough.c:this_time() function. changing the (float) casts to
(double) has fixed this on my 64bit slackware install.
diff attached... although not 100% sure if i created the diff patch
properly, but this is just a one line change so i'm sure the code
maintainer can replicate the necessary change if the diff doesn't work.
Replying to [comment:5 kwasnicki]:
> diff attached... although not 100% sure if i created the diff
> patch properly, but this is just a one line change so i'm sure the
> code maintainer can replicate the necessary change if the diff
> doesn't work.
it ended up backwards, but it's just a 1 liner so no worries.