Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-04-21 15:59:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-21 15:59:47 +0400
commitf7717b2e80907a974b472d0ee786f63b06efa40c (patch)
tree5119c2412e2cc902e83e3017adf51367529a6ffa /source/blender/blenkernel/intern/pointcache.c
parent6a5c03630423714b0a6c18e2c8b8c573c55602f7 (diff)
option to use curve point weights to influence particle effectors.
Diffstat (limited to 'source/blender/blenkernel/intern/pointcache.c')
-rw-r--r--source/blender/blenkernel/intern/pointcache.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c
index ab4750a28d2..8001ba6bcb9 100644
--- a/source/blender/blenkernel/intern/pointcache.c
+++ b/source/blender/blenkernel/intern/pointcache.c
@@ -802,10 +802,12 @@ static int ptcache_compress_read(PTCacheFile *pf, unsigned char *result, unsigne
int r = 0;
unsigned char compressed = 0;
unsigned int in_len;
+#ifdef WITH_LZO
unsigned int out_len = len;
+ size_t sizeOfIt = 5;
+#endif
unsigned char *in;
unsigned char *props = MEM_callocN(16*sizeof(char), "tmp");
- size_t sizeOfIt = 5;
ptcache_file_read(pf, &compressed, 1, sizeof(unsigned char));
if(compressed) {