Merge branch 'master' into blender2.8
[blender.git] / source / blender / alembic / intern / abc_exporter.h
index 797a2560d65de861f6ee209eb9caf6aa936252c5..3831acaafaba5c8809b04bbba72ee6391a8a61fe 100644 (file)
@@ -38,11 +38,14 @@ struct EvaluationContext;
 struct Main;
 struct Object;
 struct Scene;
+struct SceneLayer;
+struct Base;
 
 struct ExportSettings {
        ExportSettings();
 
        Scene *scene;
+       SceneLayer *sl;  // Scene layer to export; all its objects will be exported, unless selected_only=true
        SimpleLogger logger;
 
        bool selected_only;
@@ -112,10 +115,10 @@ private:
 
        void createTransformWritersHierarchy(EvaluationContext *eval_ctx);
        AbcTransformWriter * createTransformWriter(Object *ob,  Object *parent, Object *dupliObParent);
-       void exploreTransform(EvaluationContext *eval_ctx, Object *ob, Object *parent, Object *dupliObParent = NULL);
-       void exploreObject(EvaluationContext *eval_ctx, Object *ob, Object *dupliObParent);
+       void exploreTransform(EvaluationContext *eval_ctx, Base *ob_base, Object *parent, Object *dupliObParent);
+       void exploreObject(EvaluationContext *eval_ctx, Base *ob_base, Object *dupliObParent);
        void createShapeWriters(EvaluationContext *eval_ctx);
-       void createShapeWriter(Object *ob, Object *dupliObParent);
+       void createShapeWriter(Base *ob_base, Object *dupliObParent);
        void createParticleSystemsWriters(Object *ob, AbcTransformWriter *xform);
 
        AbcTransformWriter *getXForm(const std::string &name);