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-10-28 20:18:27 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-10-29 17:21:36 +0300
commit89eb05a8908130f8668e4c677d63f3d2b89e68bb (patch)
treecaff26c9c47fe531c86e0ee03b843c6162fc5581 /source/blender/alembic/intern/abc_exporter.h
parentd9000495e1273052c895c754fd2aa56c9dbe6175 (diff)
Alembic: exporting MetaBalls as mesh
- Only basis balls are exported, as they represent the resulting mesh. As a result the mesh is written to Alembic using the name of the basis ball. - MetaBalls are converted to a mesh on every frame, then an AbcMeshWriter is used to write that mesh to Alembic.
Diffstat (limited to 'source/blender/alembic/intern/abc_exporter.h')
-rw-r--r--source/blender/alembic/intern/abc_exporter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_exporter.h b/source/blender/alembic/intern/abc_exporter.h
index f763922a73b..280682b2896 100644
--- a/source/blender/alembic/intern/abc_exporter.h
+++ b/source/blender/alembic/intern/abc_exporter.h
@@ -81,6 +81,7 @@ struct ExportSettings {
};
class AbcExporter {
+ Main *m_bmain;
ExportSettings &m_settings;
const char *m_filename;
@@ -98,7 +99,7 @@ class AbcExporter {
std::vector<AbcObjectWriter *> m_shapes;
public:
- AbcExporter(Scene *scene, const char *filename, ExportSettings &settings);
+ AbcExporter(Main *bmain, Scene *scene, const char *filename, ExportSettings &settings);
~AbcExporter();
void operator()(Main *bmain, float &progress, bool &was_canceled);