From 5e5bf0160cd7842614734c1ffa7e03536ea5db60 Mon Sep 17 00:00:00 2001 From: Alain Plattner Date: Tue, 4 Apr 2023 12:24:51 -0500 Subject: [PATCH] Fixed bug in which during picking, the y range got reset if picking right after topo correction --- gprpy/gprpyGUI.py | 2 +- gprpy/toolbox/splash.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gprpy/gprpyGUI.py b/gprpy/gprpyGUI.py index fd97f3f..0b4cbc2 100644 --- a/gprpy/gprpyGUI.py +++ b/gprpy/gprpyGUI.py @@ -538,7 +538,7 @@ def setYrng(self): def resetYrng(self,proj): # Only needed in undo, and only if what you want to # undo changed the y axis - if ("setVelocity" in proj.history[-1]) or ("topoCorrect" in proj.history[-1]): + if ("setVelocity" in proj.history[-1]) or ("topoCorrect" in proj.history[-1]) and not self.picking: self.yrng=self.prevyrng diff --git a/gprpy/toolbox/splash.py b/gprpy/toolbox/splash.py index ab349af..ab6e577 100644 --- a/gprpy/toolbox/splash.py +++ b/gprpy/toolbox/splash.py @@ -79,7 +79,7 @@ def showSplash(a,dir_path,widfac,highfac,fontfac): 'size': 13.5*fontfac #'size': 45.6 } - a.text(50,-12000,'Version 1.0.12',fontdict=fontver) + a.text(50,-12000,'Version 1.0.13',fontdict=fontver) # add UA logo filename1=os.path.join(dir_path,'toolbox','splashdat', diff --git a/setup.py b/setup.py index 41787e3..a4ec511 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setuptools.setup( name="gprpy", - version="1.0.12", + version="1.0.13", author="Alain Plattner", author_email="plattner@alumni.ethz.ch", description="GPRPy - open source ground penetrating radar processing and visualization",