diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-05-13 13:22:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-05-13 13:22:05 +0400 |
commit | dffa42e636124032fcbadabc912a55b03afca973 (patch) | |
tree | 380d0fef94349536d38ad373db38be78fdc53ae9 /source/blender/blenkernel | |
parent | 761f240a2679368a62a30f5420e1daab62e80456 (diff) |
use ID_REAL_USERS macro
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/anim_sys.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 9fb442f8600..a7a4d789610 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -1805,9 +1805,10 @@ void BKE_animsys_evaluate_all_animation (Main *main, float ctime) */ #define EVAL_ANIM_IDS(first, aflag) \ for (id= first; id; id= id->next) { \ - AnimData *adt= BKE_animdata_from_id(id); \ - if ( (id->us > 1) || (id->us && !(id->flag & LIB_FAKEUSER)) ) \ + if (ID_REAL_USERS(id) > 0) { \ + AnimData *adt= BKE_animdata_from_id(id); \ BKE_animsys_evaluate_animdata(id, adt, ctime, aflag); \ + } \ } /* optimisation: |