diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-02-28 19:10:13 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-02-28 19:10:57 +0300 |
commit | e73fe77ac09fdad139447b3a00370203049676fc (patch) | |
tree | ad51cde64a8ff2730f5f7dcebd15306f777e6125 /source/blender/collada/AnimationExporter.h | |
parent | d937d06c02f62c11385c1c1f58d963fec03365d9 (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.h | 6 |
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); |