blender/source
Campbell Barton 3d3b64768d Mesh iterators (me.faces, me.edges, me.verts, face and edge iterator) store the iterator progress in the python object.
This made nested loops with the same python object mess up.
eg-
faces= me.faces
for f1 in faces:
  for f2 in faces:
    print f1.index,f2.index

This didnt work, fixed by initializing the iter value at -1, so any greater value will create a new BPyObject with its own iter value.
once iteration is finished, its set back to -1.

Also made face and edges iter value a char instead of an int to save some memory.
2006-09-22 10:08:41 +00:00
..
blender Mesh iterators (me.faces, me.edges, me.verts, face and edge iterator) store the iterator progress in the python object. 2006-09-22 10:08:41 +00:00
creator Huge commit: VERSE 2006-08-20 15:22:56 +00:00
darwin Totally ancient error: Makefiles for OSX did not copy the scripts in 2006-07-01 09:40:13 +00:00
gameengine Added a VGroup input to the Armature modifier. This allows the user to specify 2006-08-28 21:56:58 +00:00
icons ==SCons== 2006-03-10 22:50:27 +00:00
kernel ==SCons== 2006-02-07 21:24:36 +00:00
Makefile Huge commit: VERSE 2006-08-20 15:22:56 +00:00
nan_compile.mk - uncommit my personal hack of nan_compile.mk, which came to cvs with 2006-08-21 14:22:08 +00:00
nan_definitions.mk Huge commit: VERSE 2006-08-20 15:22:56 +00:00
nan_link.mk Huge commit: VERSE 2006-08-20 15:22:56 +00:00
nan_subdirs.mk
nan_warn.mk
SConscript ==SCons== 2006-03-10 20:47:34 +00:00