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:
authorCampbell Barton <ideasman42@gmail.com>2013-08-24 20:06:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-24 20:06:18 +0400
commit585272fbcf2a23d7491b229736d8de6234ab290b (patch)
tree8fef123f9fa44e95e040b1c0df1b1f46392a4e75 /source/blender/blenlib/intern/edgehash.c
parent1ba29c3a4adde1d9b9a70b9e84745dd0ec5f9c4e (diff)
cloth was using edgehash not quite correctly:
- was ordering vertex args unnecessarily. - was adding the same edges multiple times into the edgehash.
Diffstat (limited to 'source/blender/blenlib/intern/edgehash.c')
-rw-r--r--source/blender/blenlib/intern/edgehash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/edgehash.c b/source/blender/blenlib/intern/edgehash.c
index b7f607193a0..66c9eedaf1b 100644
--- a/source/blender/blenlib/intern/edgehash.c
+++ b/source/blender/blenlib/intern/edgehash.c
@@ -205,7 +205,7 @@ void BLI_edgehash_insert(EdgeHash *eh, unsigned int v0, unsigned int v1, void *v
/**
* Assign a new value to a key that may already be in edgehash.
*/
-void BLI_edgehash_assign(EdgeHash *eh, unsigned int v0, unsigned int v1, void *val)
+void BLI_edgehash_reinsert(EdgeHash *eh, unsigned int v0, unsigned int v1, void *val)
{
unsigned int hash;
EdgeEntry *e;