diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-01-20 23:27:04 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-01-20 23:27:04 +0400 |
commit | 073ea28d58cb97bbb101d15788afc71df4e8ef78 (patch) | |
tree | 6f42f4e3785544e0021457fe511d0514527207b3 /source/blender/blenkernel/intern/curve.c | |
parent | acfeb47aa377554cc9b554c94f32e232e97f56ed (diff) |
Skip subsurf normal allocation/calculation when not needed.
CCGSubsurf has already a function to disable calculation of normals,
but seems it wasn't used. This patch changes subsurf UV and
subsurf_calculate_limit_positions() to not calculate normals, and also
not allocate space for them.
Should be no functional changes, just a small speedup/less memory use
during subdivision for these cases.
Code review link:
http://codereview.appspot.com/5558058/
Diffstat (limited to 'source/blender/blenkernel/intern/curve.c')
0 files changed, 0 insertions, 0 deletions