Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-01-20 23:27:04 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-01-20 23:27:04 +0400
commit073ea28d58cb97bbb101d15788afc71df4e8ef78 (patch)
tree6f42f4e3785544e0021457fe511d0514527207b3 /source/blender/blenkernel/intern/curve.c
parentacfeb47aa377554cc9b554c94f32e232e97f56ed (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