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>2018-02-28 19:10:13 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2018-02-28 19:10:57 +0300
commite73fe77ac09fdad139447b3a00370203049676fc (patch)
treead51cde64a8ff2730f5f7dcebd15306f777e6125 /source/blender/collada/AnimationExporter.h
parentd937d06c02f62c11385c1c1f58d963fec03365d9 (diff)
collada: EvaluationContext is now feeded into the class instances of AnimationExporter and DocumentExporter on creation. Also skipped the const qualifier for now because BKE_scene_graph_update_for_newframe() needs it to be not const
Diffstat (limited to 'source/blender/collada/AnimationExporter.h')
-rw-r--r--source/blender/collada/AnimationExporter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/collada/AnimationExporter.h b/source/blender/collada/AnimationExporter.h
index b324b4c25f8..d2216c04ee5 100644
--- a/source/blender/collada/AnimationExporter.h
+++ b/source/blender/collada/AnimationExporter.h
@@ -90,15 +90,15 @@ private:
public:
- AnimationExporter(COLLADASW::StreamWriter *sw, const ExportSettings *export_settings):
+ AnimationExporter(EvaluationContext *eval_ctx, COLLADASW::StreamWriter *sw, const ExportSettings *export_settings):
+ eval_ctx(eval_ctx),
COLLADASW::LibraryAnimations(sw),
export_settings(export_settings)
{
this->sw = sw;
}
- bool exportAnimations(EvaluationContext *eval_ctx, Scene *sce);
-
+ bool exportAnimations(Scene *sce);
// called for each exported object
void operator() (Object *ob);