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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-02-01 19:17:51 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-02-01 19:17:51 +0400
commit6baf63c83b2f138ba3d52d4123a6ee8cb9078cb5 (patch)
tree2fc6c508e78148858f76a9e8f314c573acbbbc25 /source/blender/collada/ControllerExporter.cpp
parent496c3e4f8fc8c1e9319477f3f2f75f6474bb4b5f (diff)
Fix some warnings in the collade code, but did not fix two because they seem
to indicate bugs, left a comment about those.
Diffstat (limited to 'source/blender/collada/ControllerExporter.cpp')
-rw-r--r--source/blender/collada/ControllerExporter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/collada/ControllerExporter.cpp b/source/blender/collada/ControllerExporter.cpp
index d41c907ee98..396775e3c0e 100644
--- a/source/blender/collada/ControllerExporter.cpp
+++ b/source/blender/collada/ControllerExporter.cpp
@@ -393,6 +393,7 @@ void ControllerExporter::add_weight_extras(Key *key){
//skip the basis
kb = kb->next;
for (; kb; kb = kb->next) {
+ // XXX why is the weight not used here and set to 0.0?
float weight = kb->curval;
extra.addExtraTechniqueParameter ("KHR", "morph_weights" , 0.000, "MORPH_WEIGHT_TO_TARGET");
}