diff options
author | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-08-26 19:16:27 +0400 |
---|---|---|
committer | Sukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com> | 2011-08-26 19:16:27 +0400 |
commit | cdbb904b32a859a1b3a65dbe79057248f4425832 (patch) | |
tree | fe5abab250cf71501fc716d6e17284c2f94f4bee /source/blender/collada/AnimationImporter.cpp | |
parent | ff8daca1f117b34c92462f4ab3bbe2aa50f95166 (diff) |
code review fixes
Diffstat (limited to 'source/blender/collada/AnimationImporter.cpp')
-rw-r--r-- | source/blender/collada/AnimationImporter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/collada/AnimationImporter.cpp b/source/blender/collada/AnimationImporter.cpp index ee04c270843..4a3cd5eeb06 100644 --- a/source/blender/collada/AnimationImporter.cpp +++ b/source/blender/collada/AnimationImporter.cpp @@ -179,7 +179,6 @@ void AnimationImporter::fcurve_deg_to_rad(FCurve *cu) cu->bezt[i].vec[1][1] *= M_PI / 180.0f; cu->bezt[i].vec[0][1] *= M_PI / 180.0f; cu->bezt[i].vec[2][1] *= M_PI / 180.0f; - cu->bezt[i].vec[1][0]; } } @@ -439,7 +438,7 @@ void AnimationImporter::modify_fcurve(std::vector<FCurve*>* curves , char* rna_p int i; for (it = curves->begin(), i = 0; it != curves->end(); it++, i++) { FCurve *fcu = *it; - fcu->rna_path = BLI_strdupn(rna_path, strlen(rna_path)); + fcu->rna_path = BLI_strdup(rna_path); if (array_index == -1) fcu->array_index = i; else fcu->array_index = array_index; |