Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ant_landscape/eroder.py')
-rw-r--r--ant_landscape/eroder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ant_landscape/eroder.py b/ant_landscape/eroder.py
index 1859ab66..558d2edb 100644
--- a/ant_landscape/eroder.py
+++ b/ant_landscape/eroder.py
@@ -154,7 +154,7 @@ class Grid:
if abs(yscale) > 1e-6 :
self.zscale = 1.0/yscale
- # keep just the z-values and null any ofsset
+ # keep just the z-values and null any offset
# we might catch a reshape error that will occur if nx*ny != # of vertices (if we are not dealing with a heightfield but with a mesh with duplicate x,y coords, like an axis aligned cube
self.center = np.array([c[2] for c in verts],dtype=np.single).reshape(nx,ny)
self.center = (self.center-np.amin(self.center))*self.zscale