diff options
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 4 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh_api.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index c7cbd8d0ac6..3c2e3ddb300 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -1823,7 +1823,9 @@ static void rna_def_struct_function_prototype_cpp(FILE *f, StructRNA *UNUSED(srn flag = dp->prop->flag; pout = (flag & PROP_OUTPUT); - if (type == PROP_POINTER) + if (flag & PROP_DYNAMIC) + ptrstr = pout ? "**" : "*"; + else if (type == PROP_POINTER) ptrstr = pout ? "*": ""; else if (dp->prop->arraydimension) ptrstr = "*"; diff --git a/source/blender/makesrna/intern/rna_mesh_api.c b/source/blender/makesrna/intern/rna_mesh_api.c index 985e8761488..ad9977fef50 100644 --- a/source/blender/makesrna/intern/rna_mesh_api.c +++ b/source/blender/makesrna/intern/rna_mesh_api.c @@ -59,8 +59,6 @@ static const char *rna_Mesh_unit_test_compare(struct Mesh *mesh, bContext *C, st void rna_Mesh_calc_smooth_groups(struct Mesh *mesh, int *r_poly_group_len, int **r_poly_group, int *r_group_total) { - int totgroups; - *r_poly_group_len = mesh->totpoly; *r_poly_group = BKE_mesh_calc_smoothgroups( mesh->medge, mesh->totedge, |