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:
authorSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>2011-07-04 19:33:39 +0400
committerSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>2011-07-04 19:33:39 +0400
commitab369227fbbfc40756fb49b9d795bd2a8ef7fcd6 (patch)
treeabd74000db2ba27c374a09db0023c394fd676e93 /source/blender/collada/LightExporter.cpp
parenta552d8e6104db06d94e2a51d533d7f34cfd3aa47 (diff)
light SpotLight blend and size parameters animation export. on going.
Diffstat (limited to 'source/blender/collada/LightExporter.cpp')
-rw-r--r--source/blender/collada/LightExporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/collada/LightExporter.cpp b/source/blender/collada/LightExporter.cpp
index 860a2ae5a67..c3f850dd0cb 100644
--- a/source/blender/collada/LightExporter.cpp
+++ b/source/blender/collada/LightExporter.cpp
@@ -103,8 +103,8 @@ void LightsExporter::operator()(Object *ob)
else if (la->type == LA_SPOT) {
COLLADASW::SpotLight cla(mSW, la_id, la_name);
cla.setColor(col,false,"color");
- cla.setFallOffAngle(la->spotsize);
- cla.setFallOffExponent(la->spotblend);
+ cla.setFallOffAngle(la->spotsize,false,"fall_off_angle");
+ cla.setFallOffExponent(la->spotblend,false,"fall_off_exponent");
cla.setConstantAttenuation(constatt);
cla.setLinearAttenuation(linatt);
cla.setQuadraticAttenuation(quadatt);