diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-30 20:41:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-30 20:41:43 +0400 |
commit | 5446dc0bf3386e52202ae7af83c562c247c743d7 (patch) | |
tree | faf2ca6eea28f8c5d5beb0d35906546335131171 /source/blender/bmesh/operators/bmo_smooth_laplacian.c | |
parent | d72a6c3018f754cc1628267edd45f6a83afbfa42 (diff) |
fix for various asserts running operator tests - not likely any of these would cause real user bugs though.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_smooth_laplacian.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_smooth_laplacian.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/operators/bmo_smooth_laplacian.c b/source/blender/bmesh/operators/bmo_smooth_laplacian.c index 4137c31961c..4a367a8fd6f 100644 --- a/source/blender/bmesh/operators/bmo_smooth_laplacian.c +++ b/source/blender/bmesh/operators/bmo_smooth_laplacian.c @@ -544,6 +544,7 @@ void bmo_smooth_laplacian_vert_exec(BMesh *bm, BMOperator *op) BMVert *v; LaplacianSystem *sys; + if (bm->totface == 0) return; sys = init_laplacian_system(bm->totedge, bm->totface, bm->totvert); if (!sys) return; sys->bm = bm; |