Blender Git Loki
Git Commits -> Revision da849bb
Revision da849bb by Campbell Barton (master) November 16, 2011, 12:38 (GMT) |
prepare for flagging the bmesh has having invalid index values, so we can skip looping over all elements if its already valid. - went over every BM_SetIndex call and added comments about its use, if its setting dirty values or correct ones. - replace loops over all elements _just_ to set index values, with a new function, BM_ElemIndex_Ensure(...), this will eventually only initialize values when they are dirty. |
Commit Details:
Full Hash: da849bbfc042a2f879031f3736974ade45348d6e
SVN Revision: 41908
Parent Commit: dfe90e5
Lines Changed: +256, -269
27 Modified Paths:
/source/blender/blenkernel/intern/cdderivedmesh.c (+5, -11) (Diff)
/source/blender/blenkernel/intern/editderivedbmesh.c (+21, -75) (Diff)
/source/blender/bmesh/bmesh.h (+25, -0) (Diff)
/source/blender/bmesh/bmesh_class.h (+6, -0) (Diff)
/source/blender/bmesh/intern/bmesh_construct.c (+15, -5) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+70, -12) (Diff)
/source/blender/bmesh/intern/bmesh_newcore.c (+5, -4) (Diff)
/source/blender/bmesh/intern/bmesh_polygon.c (+5, -3) (Diff)
/source/blender/bmesh/operators/createops.c (+6, -9) (Diff)
/source/blender/bmesh/operators/edgesplitop.c (+4, -7) (Diff)
/source/blender/bmesh/operators/extrudeops.c (+2, -10) (Diff)
/source/blender/bmesh/operators/mesh_conv.c (+7, -6) (Diff)
/source/blender/bmesh/operators/mirror.c (+3, -2) (Diff)
/source/blender/bmesh/operators/removedoubles.c (+3, -2) (Diff)
/source/blender/bmesh/operators/utils.c (+2, -1) (Diff)
/source/blender/editors/mesh/bmeshutils.c (+3, -16) (Diff)
/source/blender/editors/mesh/bmesh_select.c (+5, -7) (Diff)
/source/blender/editors/mesh/editbmesh_bvh.c (+3, -1) (Diff)
/source/blender/editors/mesh/knifetool.c (+14, -14) (Diff)
/source/blender/editors/mesh/meshtools.c (+2, -6) (Diff)
/source/blender/editors/object/object_vgroup.c (+3, -6) (Diff)
/source/blender/editors/space_view3d/view3d_snap.c (+18, -10) (Diff)
/source/blender/editors/transform/transform_conversions.c (+4, -7) (Diff)
/source/blender/editors/util/crazyspace.c (+5, -11) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+13, -37) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+1, -5) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+6, -2) (Diff)
/source/blender/blenkernel/intern/editderivedbmesh.c (+21, -75) (Diff)
/source/blender/bmesh/bmesh.h (+25, -0) (Diff)
/source/blender/bmesh/bmesh_class.h (+6, -0) (Diff)
/source/blender/bmesh/intern/bmesh_construct.c (+15, -5) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+70, -12) (Diff)
/source/blender/bmesh/intern/bmesh_newcore.c (+5, -4) (Diff)
/source/blender/bmesh/intern/bmesh_polygon.c (+5, -3) (Diff)
/source/blender/bmesh/operators/createops.c (+6, -9) (Diff)
/source/blender/bmesh/operators/edgesplitop.c (+4, -7) (Diff)
/source/blender/bmesh/operators/extrudeops.c (+2, -10) (Diff)
/source/blender/bmesh/operators/mesh_conv.c (+7, -6) (Diff)
/source/blender/bmesh/operators/mirror.c (+3, -2) (Diff)
/source/blender/bmesh/operators/removedoubles.c (+3, -2) (Diff)
/source/blender/bmesh/operators/utils.c (+2, -1) (Diff)
/source/blender/editors/mesh/bmeshutils.c (+3, -16) (Diff)
/source/blender/editors/mesh/bmesh_select.c (+5, -7) (Diff)
/source/blender/editors/mesh/editbmesh_bvh.c (+3, -1) (Diff)
/source/blender/editors/mesh/knifetool.c (+14, -14) (Diff)
/source/blender/editors/mesh/meshtools.c (+2, -6) (Diff)
/source/blender/editors/object/object_vgroup.c (+3, -6) (Diff)
/source/blender/editors/space_view3d/view3d_snap.c (+18, -10) (Diff)
/source/blender/editors/transform/transform_conversions.c (+4, -7) (Diff)
/source/blender/editors/util/crazyspace.c (+5, -11) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+13, -37) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+1, -5) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+6, -2) (Diff)