Blender Git Commit Log

Git Commits -> Revision 073ea28

Revision 073ea28 by Nicholas Bishop (master)
January 20, 2012, 19:27 (GMT)
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/

Commit Details:

Full Hash: 073ea28d58cb97bbb101d15788afc71df4e8ef78
SVN Revision: 43572
Parent Commit: acfeb47
Lines Changed: +15, -11

1 Modified Path:

/source/blender/blenkernel/intern/subsurf_ccg.c (+15, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021