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-08-09 20:28:08 +0400
committerSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>2011-08-09 20:28:08 +0400
commit407ec19431971c4e408fa9e6cda63a71a9b1e9b0 (patch)
treea52bb746fc9b166588a1f9850c347f6dd671eecf /source/blender/collada/AnimationExporter.cpp
parent8655385c9edb5e61416018406f8a3fe3b8e7d141 (diff)
temporary fix for quat rotations
Diffstat (limited to 'source/blender/collada/AnimationExporter.cpp')
-rw-r--r--source/blender/collada/AnimationExporter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/collada/AnimationExporter.cpp b/source/blender/collada/AnimationExporter.cpp
index 4beab6f7608..337fd89a7fa 100644
--- a/source/blender/collada/AnimationExporter.cpp
+++ b/source/blender/collada/AnimationExporter.cpp
@@ -208,10 +208,12 @@ void AnimationExporter::exportAnimations(Scene *sce)
if ( !strcmp(transformName, "rotation_quaternion") )
{
+ fprintf(stderr, "quaternion rotations are not supported. rotation curves will not be exported\n");
quatRotation = true;
/*const char *axis_names[] = {"", "X", "Y", "Z"};
if (fcu->array_index < 4)
axis_name = axis_names[fcu->array_index];*/
+ return;
}
//maybe a list or a vector of float animations
else if ( !strcmp(transformName, "color")||!strcmp(transformName, "specular_color")||!strcmp(transformName, "diffuse_color")||