diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-08-21 19:21:56 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-08-21 19:21:56 +0400 |
commit | dcddd32c4553d5096f376434cd426f987ec3dd2e (patch) | |
tree | 4ce64a772e1bc8e0996317c8747284f8f14a1511 /source/blender/bmesh/intern/bmesh_log.c | |
parent | fca659252f56d3487cf64fe702cb96c379cc89c6 (diff) |
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.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_log.c')
0 files changed, 0 insertions, 0 deletions