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/DocumentImporter.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/DocumentImporter.cpp')
-rw-r--r-- | source/blender/collada/DocumentImporter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp index 50a9e351bc6..f10252c01c5 100644 --- a/source/blender/collada/DocumentImporter.cpp +++ b/source/blender/collada/DocumentImporter.cpp @@ -1200,7 +1200,8 @@ bool DocumentImporter::writeLight(const COLLADAFW::Light *light) switch (type) { case COLLADAFW::Light::AMBIENT_LIGHT: { - lamp->type = LA_HEMI; + /* TODO Fix */ + // lamp->type = LA_HEMI; } break; case COLLADAFW::Light::SPOT_LIGHT: |