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:
authorGaia Clary <gaia.clary@machinimatrix.org>2019-06-02 20:06:14 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2019-06-03 00:00:57 +0300
commitb7bd8d813fd92d25eceedc7b1f23894c12bba6f9 (patch)
treecb5e745611740dcf04fa707a74f2534c54feb8cb /source/blender/collada/AnimationImporter.h
parent0731b88ddbbef2ca53c45b93e58c39d4ec1ce1b3 (diff)
feature collada: Allow export/import of skeletal animations as curves
Diffstat (limited to 'source/blender/collada/AnimationImporter.h')
-rw-r--r--source/blender/collada/AnimationImporter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/collada/AnimationImporter.h b/source/blender/collada/AnimationImporter.h
index f15c02183c7..c62ffdbafd3 100644
--- a/source/blender/collada/AnimationImporter.h
+++ b/source/blender/collada/AnimationImporter.h
@@ -80,6 +80,7 @@ class AnimationImporter : private TransformReader, public AnimationImporterBase
void animation_to_fcurves(COLLADAFW::AnimationCurve *curve);
void fcurve_deg_to_rad(FCurve *cu);
+ void fcurve_scale(FCurve *cu, int scale);
void fcurve_is_used(FCurve *fcu);
@@ -194,7 +195,7 @@ class AnimationImporter : private TransformReader, public AnimationImporterBase
int setAnimType(const COLLADAFW::Animatable *prop, int type, int addition);
- void modify_fcurve(std::vector<FCurve *> *curves, const char *rna_path, int array_index);
+ void modify_fcurve(std::vector<FCurve *> *curves, const char *rna_path, int array_index, int scale=1);
void unused_fcurve(std::vector<FCurve *> *curves);
// prerequisites:
// animlist_map - map animlist id -> animlist