bugfix [#24168] verts[] was replaced with vertices[] but gives the old info to user.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 6 Oct 2010 20:39:50 +0000 (20:39 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 6 Oct 2010 20:39:50 +0000 (20:39 +0000)
source/blender/makesrna/intern/rna_mesh.c

index db5a20623592fc4e341e2d363d90a6ed06580536..dc3cb675f7a934ec5e2a87b38ef4b2190547d764 100644 (file)
@@ -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)