add ambient light type, allow collada to load it

This commit is contained in:
Gargaj
2014-08-28 16:27:29 +02:00
parent dbf001b81c
commit d333e08343
3 changed files with 6 additions and 5 deletions

View File

@@ -308,10 +308,6 @@ void ColladaLoader::BuildLightsForNode( const ColladaParser& pParser, const Coll
continue;
}
const Collada::Light* srcLight = &srcLightIt->second;
if (srcLight->mType == aiLightSource_AMBIENT) {
DefaultLogger::get()->error("Collada: Skipping ambient light for the moment");
continue;
}
// now fill our ai data structure
aiLight* out = new aiLight();