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-21 12:04:47 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2017-04-21 15:11:49 +0300
commit099816587a0e064fb6a52c82a737ae8814cf21df (patch)
tree250508ab6196323c32bfec0ab516f5b8f0fff2e5 /source/blender/alembic/intern/abc_object.cc
parentdf84082c70dafde0aa3a6a474f7885788e507ae1 (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_object.cc')
-rw-r--r--source/blender/alembic/intern/abc_object.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/alembic/intern/abc_object.cc b/source/blender/alembic/intern/abc_object.cc
index c8716d55218..4c3c060be28 100644
--- a/source/blender/alembic/intern/abc_object.cc
+++ b/source/blender/alembic/intern/abc_object.cc
@@ -160,6 +160,15 @@ void AbcObjectReader::object(Object *ob)
m_object = ob;
}
+DerivedMesh *AbcObjectReader::read_derivedmesh(DerivedMesh *dm,
+ const Alembic::Abc::ISampleSelector &UNUSED(sample_sel),
+ int UNUSED(read_flag),
+ const char **UNUSED(err_str))
+{
+ return dm;
+}
+
+
static Imath::M44d blend_matrices(const Imath::M44d &m0, const Imath::M44d &m1, const float weight)
{
float mat0[4][4], mat1[4][4], ret[4][4];