objects with circular dependancies where not handled correctly
when sorting bases.

the fix is actually a workaround only and may evolve later

also add changes to xcode project for recent commits
This commit is contained in:
Jean-Luc Peurière 2005-05-21 21:52:58 +00:00
parent 33832f52ea
commit e441c57d22

@ -999,6 +999,14 @@ void topo_sort_baselist(struct Scene *sce){
} }
} }
// temporal correction for circular dependancies
base = sce->base.first;
while (base) {
BLI_remlink(&sce->base,base);
BLI_addhead(&tempbase,base);
base = sce->base.first;
}
sce->base = tempbase; sce->base = tempbase;
queue_delete(nqueue); queue_delete(nqueue);
} }