git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1183 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
@@ -295,7 +295,11 @@ void BlenderImporter::ExtractScene(Scene& out, const FileDatabase& file)
// we need a scene somewhere to start with.
for_each(const FileBlockHead& bl,file.entries) {
- if (bl.id == "SC") {
+
+ // Fix: using the DNA index is more reliable to locate scenes
+ //if (bl.id == "SC") {
+ if (bl.dna_index == (*it).second) {
block = &bl;
break;
}