Attempt to fix collada compilation after recent commit

I don't have recent collada compiled here atm, so perhaps there're
more issues here.
This commit is contained in:
2013-02-05 13:04:01 +00:00
parent fdfa5910b5
commit 9d02ac41dc
3 changed files with 8 additions and 8 deletions

View File

@@ -151,7 +151,7 @@ Mesh *bc_to_mesh_apply_modifiers(Scene *scene, Object *ob, BC_export_mesh_type e
}
}
tmpmesh = BKE_mesh_add("ColladaMesh"); // name is not important here
tmpmesh = BKE_mesh_add(G.main, "ColladaMesh"); // name is not important here
DM_to_mesh(dm, tmpmesh, ob);
dm->release(dm);
return tmpmesh;