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:
authorHans Goudey <h.goudey@me.com>2022-06-25 00:16:43 +0300
committerHans Goudey <h.goudey@me.com>2022-06-25 00:16:43 +0300
commit35d2a2284659ca0e308d37765b803a66157de2f7 (patch)
tree8e0b41e81e24f36fe2e42806eb90a8e45c6012ad /source/blender/makesrna/intern/rna_object.c
parentfca94c5e0d6f8a98cb5fd3424141f5615f2445b2 (diff)
Cleanup: Remove unused argument
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r--source/blender/makesrna/intern/rna_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 56652a35ecb..46e8b3beb02 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -511,7 +511,7 @@ static PointerRNA rna_Object_data_get(PointerRNA *ptr)
Object *ob = (Object *)ptr->data;
if (ob->type == OB_MESH) {
Mesh *me = (Mesh *)ob->data;
- me = BKE_mesh_wrapper_ensure_subdivision(ob, me);
+ me = BKE_mesh_wrapper_ensure_subdivision(me);
return rna_pointer_inherit_refine(ptr, &RNA_Mesh, me);
}
return rna_pointer_inherit_refine(ptr, &RNA_ID, ob->data);