[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45478] trunk/blender/source/blender/ blenkernel/intern/pointcache.c: Fixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache compression .

Francisco De La Cruz dlcs.frank at gmail.com
Mon Apr 9 03:24:58 CEST 2012


Revision: 45478
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45478
Author:   xercesblue
Date:     2012-04-09 01:24:56 +0000 (Mon, 09 Apr 2012)
Log Message:
-----------
Fixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache compression.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/pointcache.c

Modified: trunk/blender/source/blender/blenkernel/intern/pointcache.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/pointcache.c	2012-04-09 01:16:19 UTC (rev 45477)
+++ trunk/blender/source/blender/blenkernel/intern/pointcache.c	2012-04-09 01:24:56 UTC (rev 45478)
@@ -1205,7 +1205,7 @@
 			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));




More information about the Bf-blender-cvs mailing list