Compile with older versions of Assimp

This commit is contained in:
rdb 2015-07-03 19:38:10 +02:00
parent 23a4876c57
commit 41b44683b6
1 changed files with 3 additions and 1 deletions

View File

@ -630,7 +630,9 @@ load_light(const aiLight &light) {
plight->set_transform(TransformState::make_pos_quat_scale(pos, quat, LVecBase3(1, 1, 1)));
break; }
case aiLightSource_AMBIENT:
// This is a somewhat recent addition to Assimp, so let's be kind to
// those that don't have an up-to-date version of Assimp.
case 0x4: //aiLightSource_AMBIENT:
// This is handled below.
break;