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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2016-04-17 16:08:46 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2016-04-17 16:08:46 +0300
commita85c9b241af2c37905072caa77b0f17f941a233d (patch)
tree2c5eb1f32460711725a56777d9888896c2041497 /source/blender/bmesh/intern/bmesh_strands.h
parent07221e980b8b6899ccb0d145210c699b4fca175c (diff)
Corrected implementation of the strand relaxation method ported from particles.
This is still the same algorithm as in particle edit mode, but cleaned up some unnecessary complications and use much more meaningful variable names.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_strands.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_strands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_strands.h b/source/blender/bmesh/intern/bmesh_strands.h
index cd4267f0bb3..1f060fa2dae 100644
--- a/source/blender/bmesh/intern/bmesh_strands.h
+++ b/source/blender/bmesh/intern/bmesh_strands.h
@@ -111,6 +111,7 @@ BLI_INLINE BMVert *BM_strands_vert_prev(BMVert *v)
int BM_strands_count(BMesh *bm);
int BM_strands_keys_count(BMVert *root);
+int BM_strands_keys_count_max(BMesh *bm);
/* Create a new strand */
struct BMVert *BM_strands_create(struct BMesh *bm, int len, bool set_defaults);