diff options
Diffstat (limited to 'source/blender/collada/AnimationExporter.h')
-rw-r--r-- | source/blender/collada/AnimationExporter.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/collada/AnimationExporter.h b/source/blender/collada/AnimationExporter.h index a739b2b6cbe..2ed0a92d89c 100644 --- a/source/blender/collada/AnimationExporter.h +++ b/source/blender/collada/AnimationExporter.h @@ -79,25 +79,26 @@ extern "C" #include <vector> #include <algorithm> // std::find - +struct Depsgraph; class AnimationExporter: COLLADASW::LibraryAnimations { private: Scene *scene; + Depsgraph *depsgraph; COLLADASW::StreamWriter *sw; public: - AnimationExporter(COLLADASW::StreamWriter *sw, const ExportSettings *export_settings): + AnimationExporter(Depsgraph *depsgraph, COLLADASW::StreamWriter *sw, const ExportSettings *export_settings): COLLADASW::LibraryAnimations(sw), + depsgraph(depsgraph), export_settings(export_settings) { this->sw = sw; } bool exportAnimations(Scene *sce); - // called for each exported object void operator() (Object *ob); |