[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43664] trunk/blender/source/blender/ editors/uvedit/uvedit_unwrap_ops.c: comment unused assignment.

Campbell Barton ideasman42 at gmail.com
Tue Jan 24 16:51:52 CET 2012


Revision: 43664
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43664
Author:   campbellbarton
Date:     2012-01-24 15:51:44 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
comment unused assignment.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c

Modified: trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c
===================================================================
--- trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c	2012-01-24 15:37:50 UTC (rev 43663)
+++ trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c	2012-01-24 15:51:44 UTC (rev 43664)
@@ -306,7 +306,6 @@
 	MFace *face;
 	MEdge *edge;
 	EditVert *editVert;
-	MTFace *texface;
 	EditFace *editFace, **editFaceTmp;
 	EditEdge *editEdge, **editEdgeTmp;
 	int i;
@@ -321,7 +320,7 @@
 	MVert *subsurfedVerts;
 	MEdge *subsurfedEdges;
 	MFace *subsurfedFaces;
-	MTFace *subsurfedTexfaces;
+	/* MTFace *subsurfedTexfaces; */ /* UNUSED */
 	/* number of vertices and faces for subsurfed mesh*/
 	int numOfEdges, numOfFaces;
 
@@ -340,7 +339,7 @@
 
 		if(eface) {
 			float aspx, aspy;
-			texface= CustomData_em_get(&editMesh->fdata, eface->data, CD_MTFACE);
+			MTFace *texface= CustomData_em_get(&editMesh->fdata, eface->data, CD_MTFACE);
 
 			ED_image_uv_aspect(texface->tpage, &aspx, &aspy);
 		
@@ -368,7 +367,7 @@
 	origEdgeIndices = derivedMesh->getEdgeDataArray(derivedMesh, CD_ORIGINDEX);
 	origFaceIndices = derivedMesh->getFaceDataArray(derivedMesh, CD_ORIGINDEX);
 
-	subsurfedTexfaces = derivedMesh->getFaceDataArray(derivedMesh, CD_MTFACE);
+	/* subsurfedTexfaces = derivedMesh->getFaceDataArray(derivedMesh, CD_MTFACE); */ /* UNUSED */
 
 	numOfEdges = derivedMesh->getNumEdges(derivedMesh);
 	numOfFaces = derivedMesh->getNumFaces(derivedMesh);
@@ -427,7 +426,7 @@
 		}
 
 		/* Now we feed the rest of the data from the subsurfed faces */
-		texface= subsurfedTexfaces+i;
+		/* texface= subsurfedTexfaces+i; */ /* UNUSED */
 
 		/* We will not check for v4 here. Subsurfed mfaces always have 4 vertices. */
 		key = (ParamKey)face;



More information about the Bf-blender-cvs mailing list