diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-03-15 20:29:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-03-15 20:31:13 +0300 |
commit | df34f4f1db405c5b8deeb03db0937bee9ba81f42 (patch) | |
tree | 7daaac24ea36db57a8ae0095e5b818190dde4910 /ant_landscape | |
parent | 2502531bb4ab4a76a876c003dab34951da31e1eb (diff) |
Cleanup: fix source comment typos
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D14312
Diffstat (limited to 'ant_landscape')
-rw-r--r-- | ant_landscape/eroder.py | 2 |
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 |