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:
authorCampbell Barton <ideasman42@gmail.com>2013-12-26 01:26:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-26 01:27:08 +0400
commita5606fadbb32b69a1262cb80a8aa2a60189f4232 (patch)
tree00af93cddb3ae52456ac3d475cc4d15ecf794c5a /source/blender/makesrna
parent07ebe893643c433d3fa09d120f780ef14b88f4b3 (diff)
Code Cleanup: remove object arg to CDDM_from_mesh mesh_create_derived
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_object_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index 0f71e26b687..f29eb7800b5 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -384,7 +384,7 @@ void rna_Object_dm_info(struct Object *ob, int type, char *result)
switch (type) {
case 0:
if (ob->type == OB_MESH) {
- dm = CDDM_from_mesh(ob->data, ob);
+ dm = CDDM_from_mesh(ob->data);
ret = DM_debug_info(dm);
dm_release = TRUE;
}