[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51290] trunk/blender/source/blender/ editors/mesh/editmesh_rip.c: style cleanup: spelling
Campbell Barton
ideasman42 at gmail.com
Sat Oct 13 05:54:33 CEST 2012
Revision: 51290
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51290
Author: campbellbarton
Date: 2012-10-13 03:54:27 +0000 (Sat, 13 Oct 2012)
Log Message:
-----------
style cleanup: spelling
Modified Paths:
--------------
trunk/blender/source/blender/editors/mesh/editmesh_rip.c
Modified: trunk/blender/source/blender/editors/mesh/editmesh_rip.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_rip.c 2012-10-13 01:46:57 UTC (rev 51289)
+++ trunk/blender/source/blender/editors/mesh/editmesh_rip.c 2012-10-13 03:54:27 UTC (rev 51290)
@@ -704,12 +704,8 @@
BMEdge *e, *e2;
BMVert *v;
const int totedge_orig = bm->totedge;
- int i;
float projectMat[4][4], fmval[3] = {event->mval[0], event->mval[1]};
- int totedge;
- int all_minifold;
-
EdgeLoopPair *eloop_pairs;
ED_view3d_ob_project_mat_get(rv3d, obedit, projectMat);
@@ -719,10 +715,14 @@
/* expand edge selection */
BM_ITER_MESH (v, &iter, bm, BM_VERTS_OF_MESH) {
+ int all_manifold;
+ int totedge_manifold; /* manifold, visible edges */
+ int i;
+
e2 = NULL;
i = 0;
- totedge = 0;
- all_minifold = TRUE;
+ totedge_manifold = 0;
+ all_manifold = TRUE;
BM_ITER_ELEM (e, &eiter, v, BM_EDGES_OF_VERT) {
if (!BM_edge_is_wire(e) &&
@@ -734,18 +734,18 @@
e2 = e;
i++;
}
- totedge++;
+ totedge_manifold++;
}
/** #BM_vert_other_disk_edge has no hidden checks so don't check hidden here */
- if ((all_minifold == TRUE) && (BM_edge_is_manifold(e) == FALSE)) {
- all_minifold = FALSE;
+ if ((all_manifold == TRUE) && (BM_edge_is_manifold(e) == FALSE)) {
+ all_manifold = FALSE;
}
}
/* single edge, extend */
if (i == 1 && e2->l) {
- if ((totedge == 4) || (all_minifold == FALSE)) {
+ if ((totedge_manifold == 4) || (all_manifold == FALSE)) {
BMLoop *l_a = e2->l;
BMLoop *l_b = l_a->radial_next;
More information about the Bf-blender-cvs
mailing list