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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user