[Bf-blender-cvs] [9ea0eb0b950] master: Alembic export: assume that transforms are always animated

Sybren A. Stüvel noreply at git.blender.org
Fri Nov 29 16:45:44 CET 2019


Commit: 9ea0eb0b950f498b2bda91f137fce7c961eb08f5
Author: Sybren A. Stüvel
Date:   Fri Nov 29 16:30:10 2019 +0100
Branches: master
https://developer.blender.org/rB9ea0eb0b950f498b2bda91f137fce7c961eb08f5

Alembic export: assume that transforms are always animated

This is a partial rollback of f18ad385dffe70f5e57df00ff9bbb7b42fa05be0. It
turned out to be more tricky to determine animatedness of an object.

This fixes T71986.

===================================================================

M	source/blender/alembic/intern/abc_transform.cc

===================================================================

diff --git a/source/blender/alembic/intern/abc_transform.cc b/source/blender/alembic/intern/abc_transform.cc
index 9fc52d71e23..033bd33d781 100644
--- a/source/blender/alembic/intern/abc_transform.cc
+++ b/source/blender/alembic/intern/abc_transform.cc
@@ -134,7 +134,7 @@ Imath::Box3d AbcTransformWriter::bounds()
 
 bool AbcTransformWriter::hasAnimation(Object *ob) const
 {
-  return !BLI_listbase_is_empty(&ob->constraints) || BKE_animdata_id_is_animated(&ob->id);
+  return true;
 }
 
 /* ************************************************************************** */



More information about the Bf-blender-cvs mailing list