diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-11-14 13:44:05 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-11-14 13:50:37 +0300 |
commit | c3d03b4434c8554bbfff6cdc549bb089dec1da28 (patch) | |
tree | d4556b2a7bfa23f1ed7fb79cf9363a1910260711 /source/blender/collada/LightExporter.cpp | |
parent | 0b0b3d7f7e720f2073406247957b800e11e4ef98 (diff) |
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.
Diffstat (limited to 'source/blender/collada/LightExporter.cpp')
-rw-r--r-- | source/blender/collada/LightExporter.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/source/blender/collada/LightExporter.cpp b/source/blender/collada/LightExporter.cpp index 11377e06ce8..53fcbd1bb1a 100644 --- a/source/blender/collada/LightExporter.cpp +++ b/source/blender/collada/LightExporter.cpp @@ -90,13 +90,14 @@ void LightsExporter::operator()(Object *ob) addLight(cla); } // hemi - else if (la->type == LA_HEMI) { - COLLADASW::AmbientLight cla(mSW, la_id, la_name); - cla.setColor(col, false, "color"); - cla.setConstantAttenuation(constatt); - exportBlenderProfile(cla, la); - addLight(cla); - } + /* Hemi were removed from 2.8 */ + // else if (la->type == LA_HEMI) { + // COLLADASW::AmbientLight cla(mSW, la_id, la_name); + // cla.setColor(col, false, "color"); + // cla.setConstantAttenuation(constatt); + // exportBlenderProfile(cla, la); + // addLight(cla); + // } // spot else if (la->type == LA_SPOT) { COLLADASW::SpotLight cla(mSW, la_id, la_name); |