diff options
author | gaiaclary <gaia.clary@machinimatrix.org> | 2014-01-31 12:35:00 +0400 |
---|---|---|
committer | gaiaclary <gaia.clary@machinimatrix.org> | 2014-01-31 12:35:00 +0400 |
commit | d291d15c193e98ad9fbc05832587bc17a191aa9e (patch) | |
tree | df9b78e0d108015e6bacb759d6364635e5d1aee8 /source/blender/collada/AnimationExporter.h | |
parent | a7b1349ce48b9f6a05ec8958f8096a0da2c89f25 (diff) |
Fix for T32843
Exported angles for spot size animation is in radians , however Collada expects it to be in degrees.
This patch is for fixing import and export, and also renaming a variable
Reviewers: gaiaclary
Reviewed By: gaiaclary
Differential Revision: https://developer.blender.org/D273
Diffstat (limited to 'source/blender/collada/AnimationExporter.h')
-rw-r--r-- | source/blender/collada/AnimationExporter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/AnimationExporter.h b/source/blender/collada/AnimationExporter.h index 6c844cf54e6..5e7338aef61 100644 --- a/source/blender/collada/AnimationExporter.h +++ b/source/blender/collada/AnimationExporter.h @@ -140,7 +140,7 @@ protected: void add_source_parameters(COLLADASW::SourceBase::ParameterNameList& param, COLLADASW::InputSemantic::Semantics semantic, bool is_rot, const char *axis, bool transform); - void get_source_values(BezTriple *bezt, COLLADASW::InputSemantic::Semantics semantic, bool is_rotation, float *values, int *length); + void get_source_values(BezTriple *bezt, COLLADASW::InputSemantic::Semantics semantic, bool is_angle, float *values, int *length); float* get_eul_source_for_quat(Object *ob ); |