diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-04-21 12:04:47 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-04-21 15:11:49 +0300 |
commit | 099816587a0e064fb6a52c82a737ae8814cf21df (patch) | |
tree | 250508ab6196323c32bfec0ab516f5b8f0fff2e5 /source/blender/alembic/intern/abc_points.h | |
parent | df84082c70dafde0aa3a6a474f7885788e507ae1 (diff) |
Alembic: Construct ISampleSelector once and pass along
No longer passing time as float and constructing ISampleSelectors all
over the place. Instead, just construct an ISampleSelector once and
pass it along.
Diffstat (limited to 'source/blender/alembic/intern/abc_points.h')
-rw-r--r-- | source/blender/alembic/intern/abc_points.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/alembic/intern/abc_points.h b/source/blender/alembic/intern/abc_points.h index cb68dbca4d5..1f74351d302 100644 --- a/source/blender/alembic/intern/abc_points.h +++ b/source/blender/alembic/intern/abc_points.h @@ -59,14 +59,16 @@ public: bool valid() const; - void readObjectData(Main *bmain, float time); + void readObjectData(Main *bmain, const Alembic::Abc::ISampleSelector &sample_sel); - DerivedMesh *read_derivedmesh(DerivedMesh *dm, const float time, int read_flag, const char **err_str); + DerivedMesh *read_derivedmesh(DerivedMesh *dm, + const Alembic::Abc::ISampleSelector &sample_sel, + int read_flag, + const char **err_str); }; void read_points_sample(const Alembic::AbcGeom::IPointsSchema &schema, const Alembic::AbcGeom::ISampleSelector &selector, - CDStreamConfig &config, - float time); + CDStreamConfig &config); #endif /* __ABC_POINTS_H__ */ |