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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-10-07 00:39:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-07 00:39:50 +0400
commit15a62013817a6775521a771b42ae15b537450d68 (patch)
treebee69836b24a50d8abd7ec273b68e34f0af38826 /source
parent2cabb498dcd0664ad8940eefae9d012b175ad829 (diff)
bugfix [#24168] verts[] was replaced with vertices[] but gives the old info to user.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_mesh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c
index db5a2062359..dc3cb675f7a 100644
--- a/source/blender/makesrna/intern/rna_mesh.c
+++ b/source/blender/makesrna/intern/rna_mesh.c
@@ -955,7 +955,7 @@ static char *rna_VertexGroupElement_path(PointerRNA *ptr)
for(a=0, dvert=me->dvert; a<me->totvert; a++, dvert++)
for(b=0; b<dvert->totweight; b++)
if(dw == &dvert->dw[b])
- return BLI_sprintfN("verts[%d].groups[%d]", a, b);
+ return BLI_sprintfN("vertices[%d].groups[%d]", a, b);
return NULL;
}
@@ -972,7 +972,7 @@ static char *rna_MeshEdge_path(PointerRNA *ptr)
static char *rna_MeshVertex_path(PointerRNA *ptr)
{
- return BLI_sprintfN("verts[%d]", (MVert*)ptr->data - ((Mesh*)ptr->id.data)->mvert);
+ return BLI_sprintfN("vertices[%d]", (MVert*)ptr->data - ((Mesh*)ptr->id.data)->mvert);
}
static char *rna_MeshTextureFaceLayer_path(PointerRNA *ptr)