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:
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_object_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index f5c83df0f45..a891e11a944 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -476,8 +476,9 @@ static void rna_Mesh_assign_verts_to_group(
}
/* makes a set of dVerts corresponding to the mVerts */
- if (!me->dvert)
+ if (!me->dvert) {
create_dverts(&me->id);
+ }
/* loop list adding verts to group */
for (i = 0; i < totindex; i++) {