[Bf-blender-cvs] [a0c7ee7] particles_refactor: Disabled strict alignment in paged buffer for now, this fails for vector attributes, needs a nicer way to handle this.

Lukas Tönne noreply at git.blender.org
Tue Apr 22 12:05:35 CEST 2014


Commit: a0c7ee76a34553db6af4b86909a4bd26f6ccc623
Author: Lukas Tönne
Date:   Thu Dec 12 12:19:56 2013 +0100
https://developer.blender.org/rBa0c7ee76a34553db6af4b86909a4bd26f6ccc623

Disabled strict alignment in paged buffer for now, this fails for vector
attributes, needs a nicer way to handle this.

===================================================================

M	source/blender/blenlib/intern/pagedbuffer.c

===================================================================

diff --git a/source/blender/blenlib/intern/pagedbuffer.c b/source/blender/blenlib/intern/pagedbuffer.c
index bcb480e..b43426d 100644
--- a/source/blender/blenlib/intern/pagedbuffer.c
+++ b/source/blender/blenlib/intern/pagedbuffer.c
@@ -35,7 +35,8 @@
 #include "BLI_string.h"
 #include "BLI_utildefines.h"
 
-#define PBUF_ALIGN_STRICT
+/* XXX how to handle alignment nicely? */
+/*#define PBUF_ALIGN_STRICT*/
 
 BLI_INLINE div_t div_ceil(int a, int b)
 {




More information about the Bf-blender-cvs mailing list