Merge branch 'master' into blender2.8
[blender.git] / source / blender / collada / AnimationExporter.h
index a50bcaf0ef498709b4592a5ca98f76bd620a2c58..67468458f819f8bc6b9421f4dd35287da94d606b 100644 (file)
@@ -84,6 +84,7 @@ struct Depsgraph;
 class AnimationExporter: COLLADASW::LibraryAnimations
 {
 private:
+       Main *m_bmain;
        Scene *scene;
        Depsgraph *depsgraph;
        COLLADASW::StreamWriter *sw;
@@ -98,7 +99,8 @@ public:
                this->sw = sw;
        }
 
-       bool exportAnimations(Scene *sce);
+       bool exportAnimations(Main *bmain, Scene *sce);
+
        // called for each exported object
        void operator() (Object *ob);