From: Dirk Hohndel Date: Tue, 6 Sep 2011 14:30:48 +0000 (-0700) Subject: Fix drawing artifact with UEMIS xml data X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=d4db3e938b16c67d20a40833323f64ca5d0024f2;hp=d4db3e938b16c67d20a40833323f64ca5d0024f2;p=ext%2Fsubsurface.git Fix drawing artifact with UEMIS xml data Only draw the pressure line to the final data point (duration / end.mbar) if we haven't already drawn samples past that point (as the UEMIS records pressure data for a number of additional samples after the actual dive has ended) Signed-off-by: Dirk Hohndel [ Changed to use 'last actual drawn sample time that had pressure data' instead of 'last sample time' - Linus ] Signed-off-by: Linus Torvalds ---