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:
authorSybren A. Stüvel <sybren@stuvel.eu>2017-04-19 14:03:52 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-04-19 14:03:52 +0300
commitb148ac5cf77a869bcca5b51716141400bb90a70d (patch)
tree0ef0cd74c6feae9ccf1af54bd056abd1bf539574 /source/blender/alembic/intern/abc_exporter.h
parent0fd53c87ded952049a09e45174b7e372e126ed54 (diff)
Alembic export: made hair/particle export optional.
The export is still slower than needed, as the particle systems themselves aren't disabled during the export. It's only the writing to the Alembic file that's skipped.
Diffstat (limited to 'source/blender/alembic/intern/abc_exporter.h')
-rw-r--r--source/blender/alembic/intern/abc_exporter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/alembic/intern/abc_exporter.h b/source/blender/alembic/intern/abc_exporter.h
index 73b7af280d9..797a2560d65 100644
--- a/source/blender/alembic/intern/abc_exporter.h
+++ b/source/blender/alembic/intern/abc_exporter.h
@@ -63,6 +63,8 @@ struct ExportSettings {
bool export_vcols;
bool export_face_sets;
bool export_vweigths;
+ bool export_hair;
+ bool export_particles;
bool apply_subdiv;
bool use_subdiv_schema;
@@ -114,6 +116,7 @@ private:
void exploreObject(EvaluationContext *eval_ctx, Object *ob, Object *dupliObParent);
void createShapeWriters(EvaluationContext *eval_ctx);
void createShapeWriter(Object *ob, Object *dupliObParent);
+ void createParticleSystemsWriters(Object *ob, AbcTransformWriter *xform);
AbcTransformWriter *getXForm(const std::string &name);