Animation exporter matrix source param fix.
authorSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>
Fri, 19 Aug 2011 14:29:33 +0000 (14:29 +0000)
committerSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>
Fri, 19 Aug 2011 14:29:33 +0000 (14:29 +0000)
source/blender/collada/AnimationExporter.cpp

index 7bcb225e3c2ba8c545799c3debb22f0f24cdd062..8a7d285abcbbb2fb361858b03b4cb87aa238adc4 100644 (file)
@@ -732,7 +732,7 @@ void AnimationExporter::exportAnimations(Scene *sce)
                source.setAccessorStride(16);
                
                COLLADASW::SourceBase::ParameterNameList &param = source.getParameterNameList();
-               add_source_parameters(param, semantic, false, NULL, false);
+               add_source_parameters(param, semantic, false, NULL, true);
 
                source.prepareToAppendValues();
                
@@ -1123,7 +1123,8 @@ void AnimationExporter::exportAnimations(Scene *sce)
                                }
                        }
 
-                       if ( fcu) return true;
+                       if ( fcu) 
+                               return true;
                        base= base->next;
                }
                return false;