Blender Git Commit Log

Git Commits -> Revision dcddd32

Revision dcddd32 by Antonis Ryakiotakis (master)
August 21, 2013, 15:21 (GMT)
Scultping: Growing the pbvh node container should use malloc instead of
calloc. Since we copy the first 1/1.3 part of the new array from the
existing nodes, only the rest 0.3/1.3 should be initialized to zero.
This should in theory cut down the times of occasional hangs with
dyntopo, since my guess is that it is caused by dynamic reallocations.
Maybe a linked list structure would help here? This is a bigger change
though, leaving as is for now.

Also, minor cleanup, delete duplicate ghash deletion and remove unneeded
commented code.

Commit Details:

Full Hash: dcddd32c4553d5096f376434cd426f987ec3dd2e
SVN Revision: 59368
Parent Commit: fca6592
Lines Changed: +3, -4

2 Modified Paths:

/source/blender/blenkernel/intern/pbvh.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+1, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021