svn merge ^/trunk/blender -r43524:43530
[blender.git] / source / blender / makesrna / intern / rna_object_api.c
index 0246e22d92861e8ebc3233b012f11517f19df83b..fc313d3b1deda6774b266e21f5fdc6712020ff09 100644 (file)
@@ -171,7 +171,7 @@ Mesh *rna_Object_to_mesh(Object *ob, ReportList *reports, Scene *sce, int apply_
                                dm = mesh_create_derived_view( sce, ob, mask );
                        
                        tmpmesh = add_mesh( "Mesh" );
-                       DM_to_mesh( dm, tmpmesh );
+                       DM_to_mesh( dm, tmpmesh, ob );
                        dm->release( dm );
                }