Lamps: Remove HEMI light type
This type is not supported by either Eevee or Cycles. If other types of lamps are needed by external engines, we should support adding custom types.
This commit is contained in:
@@ -145,11 +145,12 @@ void BlenderSync::sync_light(BL::Object& b_parent,
|
||||
light->spot_smooth = b_spot_light.spot_blend();
|
||||
break;
|
||||
}
|
||||
case BL::Light::type_HEMI: {
|
||||
light->type = LIGHT_DISTANT;
|
||||
light->size = 0.0f;
|
||||
break;
|
||||
}
|
||||
/* Hemi were removed from 2.8 */
|
||||
// case BL::Light::type_HEMI: {
|
||||
// light->type = LIGHT_DISTANT;
|
||||
// light->size = 0.0f;
|
||||
// break;
|
||||
// }
|
||||
case BL::Light::type_SUN: {
|
||||
BL::SunLight b_sun_light(b_light);
|
||||
light->size = b_sun_light.shadow_soft_size();
|
||||
|
Reference in New Issue
Block a user