libanim

changeset 50:b92a21c31008

invalidate_cache was not invalidating the inverse matrix time
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 13 Apr 2013 08:13:27 +0300
parents fb9659ca5cf2
children 117d6dbc147c
files src/anim.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/src/anim.c	Sat Apr 13 07:27:32 2013 +0300
     1.2 +++ b/src/anim.c	Sat Apr 13 08:13:27 2013 +0300
     1.3 @@ -493,6 +493,6 @@
     1.4  {
     1.5  	struct mat_cache *cache = pthread_getspecific(node->cache_key);
     1.6  	if(cache) {
     1.7 -	   cache->time = ANM_TIME_INVAL;
     1.8 +	   cache->time = cache->inv_time = ANM_TIME_INVAL;
     1.9  	}
    1.10  }