diff --git a/pandatool/src/assimp/assimpLoader.cxx b/pandatool/src/assimp/assimpLoader.cxx index 3ae5be3dc0..7b87b574cb 100644 --- a/pandatool/src/assimp/assimpLoader.cxx +++ b/pandatool/src/assimp/assimpLoader.cxx @@ -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;