forked from bartvdbraak/blender
fix for bug #2588
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:
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user