Blender Git Loki

Git Commits -> Revision 6894526

Revision 6894526 by Ton Roosendaal (master)
October 25, 2005, 13:57 (GMT)
Subdivide recode assistance!

- Added subdivide sck upport for vertex groups
- Brought back subdivide-smooth, but it doesn't work as good as before yet,
it used to catch an exception for subdividing the middle vertex of a quad,
with edge-based subdivide it's not that simple. Will check later.
- made "number of cuts" a static variable, so it doesn't jump back to 2
all the time

Coder level notes:

- removed the old subdivide code (yay, over 30k code less!)
- did some minor layout cleanups in the new code (just consistant syntax)
- removed redundant code parts, to enable smooth & vgroup subdiv
- subdivide smooth can do multiple cuts too, but i like to see that only
as option when our smooth formula is good!

Compliment:

I think Johnny really made comprehensible design and nice code here. Was a
joy to work with. :)

Commit Details:

Full Hash: 6894526265818ff5188f1fd82616c81ae9015ae5
SVN Revision: 5571
Parent Commit: d21d255
Lines Changed: +432, -1230

5 Modified Paths:

/source/blender/include/BIF_editmesh.h (+2, -1) (Diff)
/source/blender/src/editdeform.c (+6, -4) (Diff)
/source/blender/src/editmesh_tools.c (+405, -1202) (Diff)
/source/blender/src/editobject.c (+18, -21) (Diff)
/source/blender/src/toolbox.c (+1, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021