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