Opened 17 years ago
Closed 15 years ago
#46 closed defect (fixed)
NVIZ fly mode broken on 64bit systems
Reported by: | marisn | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 6.4.0 |
Component: | Tcl/Tk NVIZ | Version: | svn-trunk |
Keywords: | nviz | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
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.
Attachments (1)
Change History (8)
comment:1 by , 17 years ago
comment:3 by , 17 years ago
Component: | default → NVIZ |
---|
comment:4 by , 15 years ago
CPU: | → Unspecified |
---|---|
Milestone: | 6.4.0 → 6.4.1 |
Platform: | → Unspecified |
Doesn't seem to make to 6.4.0.
by , 15 years ago
Attachment: | togl_flythrough.c.diff added |
---|
follow-up: 6 comment:5 by , 15 years ago
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. ;-)
comment:6 by , 15 years ago
Milestone: | 6.4.1 → 6.4.0 |
---|
Replying to 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.
preferred method for creating patches is svn diff
:
Hamish
comment:7 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Confirmed on Mandriva 2007.1/64bit with NVIDIA.