Add gas change event gets time wrong (and crashes sometimes)

Robert C. Helling helling at atdotde.de
Thu Nov 21 14:54:11 UTC 2013


Hi,

just tried the possibility to add a gas change event via the context menu. In most of the cases it seems to add it at 0 seconds into the dive. Inspection of  void ProfileGraphicsView::changeGas() suggests that "seconds" is in the wrong units (fraction of the plot rather than seconds). Multiplying this by current_dive->duration.seconds makes it better but still places it too far to the left. My suspicion is that it gets it wrong by the amount of pixels left of the plot.

Any ideas?

Best
Robert

--                                                                              
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO 
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics  
                      Scientific Coordinator                                   
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik    
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       
    stupid .sig\n";   http://www.atdotde.de 



More information about the subsurface mailing list