Skip to content

Commit

Permalink
Fixed bug in which during picking, the y range got reset if picking r…
Browse files Browse the repository at this point in the history
…ight after topo correction
  • Loading branch information
AlainPlattner committed Apr 4, 2023
1 parent 5abab57 commit 5e5bf01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gprpy/gprpyGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion gprpy/toolbox/splash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setuptools.setup(
name="gprpy",
version="1.0.12",
version="1.0.13",
author="Alain Plattner",
author_email="[email protected]",
description="GPRPy - open source ground penetrating radar processing and visualization",
Expand Down

0 comments on commit 5e5bf01

Please sign in to comment.