Revert a small part of r50813, so that we can build (actually, link) with Cycles!

Note: this is marked as hack/todo in cycles code, so it needs a proper fix, but at least it works, for now... ;)
This commit is contained in:
2012-09-22 17:00:02 +00:00
parent 6c1da4d022
commit fb8ffefd1d
5 changed files with 12 additions and 12 deletions

View File

@@ -243,7 +243,7 @@ static Mesh *rna_Main_meshes_new(Main *UNUSED(bmain), const char *name)
id_us_min(&me->id);
return me;
}
static void rna_Main_meshes_remove(Main *bmain, ReportList *reports, Mesh *mesh)
void rna_Main_meshes_remove(Main *bmain, ReportList *reports, Mesh *mesh)
{
if (ID_REAL_USERS(mesh) <= 0)
BKE_libblock_free(&bmain->mesh, mesh);