[Bf-blender-cvs] [8699a0b] alembic: Fix for object matrix sampling with the default 1-second rate.
Lukas Tönne
noreply at git.blender.org
Wed Apr 8 22:36:04 CEST 2015
Commit: 8699a0ba772797ba9f0b8c83a02dde32bb67df75
Author: Lukas Tönne
Date: Wed Apr 8 22:35:38 2015 +0200
Branches: alembic
https://developer.blender.org/rB8699a0ba772797ba9f0b8c83a02dde32bb67df75
Fix for object matrix sampling with the default 1-second rate.
===================================================================
M source/blender/pointcache/alembic/abc_group.cpp
===================================================================
diff --git a/source/blender/pointcache/alembic/abc_group.cpp b/source/blender/pointcache/alembic/abc_group.cpp
index 7aa36b9..6a122c1 100644
--- a/source/blender/pointcache/alembic/abc_group.cpp
+++ b/source/blender/pointcache/alembic/abc_group.cpp
@@ -164,7 +164,7 @@ void AbcDupligroupWriter::write_sample_dupli(DupliObject *dob, int index)
abc_dupli.addChildInstance(abc_object, "object");
- prop_matrix = OM44fProperty(props, "matrix", 0);
+ prop_matrix = OM44fProperty(props, "matrix", abc_archive()->frame_sampling());
m_property_writers.push_back(prop_matrix.getPtr());
}
else {
@@ -291,7 +291,7 @@ void AbcDupliCacheWriter::write_sample_dupli(DupliObject *dob, int index)
abc_dupli.addChildInstance(abc_object, "object");
- prop_matrix = OM44fProperty(props, "matrix", 0);
+ prop_matrix = OM44fProperty(props, "matrix", abc_archive()->frame_sampling());
m_property_writers.push_back(prop_matrix.getPtr());
}
else {
More information about the Bf-blender-cvs
mailing list