Fix broken COLLADA building.

This commit is contained in:
2017-02-07 12:05:23 +01:00
parent 83adc54438
commit 6bf9c8ac89

View File

@@ -265,7 +265,7 @@ void DocumentImporter::finish()
for (it = libnode_ob.begin(); it != libnode_ob.end(); it++) {
Object *ob = *it;
BaseLegacy *base = BKE_scene_base_find(sce, ob);
BaseLegacy *base = (BaseLegacy *)BKE_scene_base_find(sce, ob);
if (base) {
BLI_remlink(&sce->base, base);
BKE_libblock_free_us(G.main, base->object);