svn merge ^/trunk/blender -r43676:43685
[blender-staging.git] / source / blender / makesrna / intern / rna_object_api.c
index 188ccccbfc41760adec1c96e36c340be68a6e1f5..6783e5d4788ac8415ca3a7b72ee56390c167faa0 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 );
                }