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:
Diffstat (limited to 'source/blender/io/alembic/ABC_alembic.h')
-rw-r--r--source/blender/io/alembic/ABC_alembic.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/source/blender/io/alembic/ABC_alembic.h b/source/blender/io/alembic/ABC_alembic.h
index d7d3adefc33..ded3258ff18 100644
--- a/source/blender/io/alembic/ABC_alembic.h
+++ b/source/blender/io/alembic/ABC_alembic.h
@@ -99,15 +99,19 @@ void ABC_get_transform(struct CacheReader *reader,
double time,
float scale);
+typedef struct ABCReadParams {
+ double time;
+ int read_flags;
+ const char *velocity_name;
+ float velocity_scale;
+} ABCReadParams;
+
/* Either modifies existing_mesh in-place or constructs a new mesh. */
struct Mesh *ABC_read_mesh(struct CacheReader *reader,
struct Object *ob,
struct Mesh *existing_mesh,
- double time,
- const char **err_str,
- int read_flags,
- const char *velocity_name,
- float velocity_scale);
+ const ABCReadParams *params,
+ const char **err_str);
bool ABC_mesh_topology_changed(struct CacheReader *reader,
struct Object *ob,