Compile with older versions of Assimp
This commit is contained in:
parent
23a4876c57
commit
41b44683b6
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue