[Bf-blender-cvs] [6bf9c8ac89] blender2.8: Fix broken COLLADA building.

Bastien Montagne noreply at git.blender.org
Tue Feb 7 12:07:44 CET 2017


Commit: 6bf9c8ac8918a6656c20cca2c08f20b38e90980c
Author: Bastien Montagne
Date:   Tue Feb 7 12:05:23 2017 +0100
Branches: blender2.8
https://developer.blender.org/rB6bf9c8ac8918a6656c20cca2c08f20b38e90980c

Fix broken COLLADA building.

===================================================================

M	source/blender/collada/DocumentImporter.cpp

===================================================================

diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp
index ef505e5ed3..5118234a58 100644
--- a/source/blender/collada/DocumentImporter.cpp
+++ b/source/blender/collada/DocumentImporter.cpp
@@ -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);




More information about the Bf-blender-cvs mailing list