[GRASS-dev] Re: [GRASS GIS] #46: NVIZ fly mode broken on 64bit systems

GRASS GIS trac at osgeo.org
Wed Jun 16 11:57:26 EDT 2010


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

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/46#comment:5>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list