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:
authorAntony Riakiotakis <kalast@gmail.com>2014-04-17 19:55:53 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-04-17 20:03:07 +0400
commit0ba3f7647071a7bd7fdf48e0d48a9e7e1ee79a7b (patch)
tree0e83029ce744731be7ff98301243fe4001805ea0 /source/blender/bmesh/intern/bmesh_log.c
parent771a9dd335d2b5f4bdadda8847ee9ca6f982e957 (diff)
Recreating a bmesh log did not account for modified faces.
It shouldn't create issues in practice because modified face ids should have been reclaimed from an added face on a previous entry, but add for completeness.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_log.c')
-rw-r--r--source/blender/bmesh/intern/bmesh_log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_log.c b/source/blender/bmesh/intern/bmesh_log.c
index 7dac0d45f69..7d3bc0e16b3 100644
--- a/source/blender/bmesh/intern/bmesh_log.c
+++ b/source/blender/bmesh/intern/bmesh_log.c
@@ -530,6 +530,7 @@ BMLog *BM_log_from_existing_entries_create(BMesh *bm, BMLogEntry *entry)
bm_log_id_ghash_retake(log->unused_ids, entry->added_verts);
bm_log_id_ghash_retake(log->unused_ids, entry->added_faces);
bm_log_id_ghash_retake(log->unused_ids, entry->modified_verts);
+ bm_log_id_ghash_retake(log->unused_ids, entry->modified_faces);
}
return log;