diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-02-23 18:00:06 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-04-06 17:04:31 +0300 |
commit | d1696622b7791a6e809a5c76f343c319974d60c9 (patch) | |
tree | 434530c2e9b453a99c615b54c9772ae7ae6a020d /source/blender/alembic/intern/abc_object.h | |
parent | 818ee188e704b61ce745d3394483183a86994608 (diff) |
Alembic import: fixed bug where local matrix from Alembic was used as object matrix
Also renamed AbcObjectReader::readObjectMatrix to
setupObjectTransform, as it does more than just reading the object
matrix; it also sets up an object constraint if the Alembic Xform is
animated.
Diffstat (limited to 'source/blender/alembic/intern/abc_object.h')
-rw-r--r-- | source/blender/alembic/intern/abc_object.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_object.h b/source/blender/alembic/intern/abc_object.h index 6d97c0359b7..5b7663943c2 100644 --- a/source/blender/alembic/intern/abc_object.h +++ b/source/blender/alembic/intern/abc_object.h @@ -183,7 +183,8 @@ public: return dm; } - void readObjectMatrix(const float time); + /** Reads the object matrix and sets up an object transform if animated. */ + void setupObjectTransform(const float time); void addCacheModifier(); |