Fixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache...
authorFrancisco De La Cruz <dlcs.frank@gmail.com>
Mon, 9 Apr 2012 01:24:56 +0000 (01:24 +0000)
committerFrancisco De La Cruz <dlcs.frank@gmail.com>
Mon, 9 Apr 2012 01:24:56 +0000 (01:24 +0000)
source/blender/blenkernel/intern/pointcache.c

index a383fac07c99a36c6b582a071413cea230c5fb69..100bd485c36f00eb19320c129841ddf54364450b 100644 (file)
@@ -1205,7 +1205,7 @@ static int ptcache_file_compressed_read(PTCacheFile *pf, unsigned char *result,
                        if (compressed == 2)
                        {
                                size_t sizeOfIt;
-                               size_t leni = in_len, leno = out_len;
+                               size_t leni = in_len, leno = len;
                                ptcache_file_read(pf, &size, 1, sizeof(unsigned int));
                                sizeOfIt = (size_t)size;
                                ptcache_file_read(pf, props, sizeOfIt, sizeof(unsigned char));