Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/collada/LightExporter.cpp')
-rw-r--r--source/blender/collada/LightExporter.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/collada/LightExporter.cpp b/source/blender/collada/LightExporter.cpp
index 53fcbd1bb1a..b1f805bfb87 100644
--- a/source/blender/collada/LightExporter.cpp
+++ b/source/blender/collada/LightExporter.cpp
@@ -89,15 +89,7 @@ void LightsExporter::operator()(Object *ob)
exportBlenderProfile(cla, la);
addLight(cla);
}
- // hemi
- /* 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);