[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15538] branches/soc-2008-nicholasbishop/ source/blender/blenkernel/intern/multires.c: Removed some more unused code.

Nicholas Bishop nicholasbishop at gmail.com
Sat Jul 12 03:53:38 CEST 2008


Revision: 15538
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15538
Author:   nicholasbishop
Date:     2008-07-12 03:53:25 +0200 (Sat, 12 Jul 2008)

Log Message:
-----------
Removed some more unused code.

Modified Paths:
--------------
    branches/soc-2008-nicholasbishop/source/blender/blenkernel/intern/multires.c

Modified: branches/soc-2008-nicholasbishop/source/blender/blenkernel/intern/multires.c
===================================================================
--- branches/soc-2008-nicholasbishop/source/blender/blenkernel/intern/multires.c	2008-07-11 23:47:44 UTC (rev 15537)
+++ branches/soc-2008-nicholasbishop/source/blender/blenkernel/intern/multires.c	2008-07-12 01:53:25 UTC (rev 15538)
@@ -1390,8 +1390,6 @@
 	int totsuborco, totsubface, totsubedge;
 	Mesh *me = get_mesh(ob);
 	MDisps *mdisps;
-	/*ListBase *map;
-	IndexNode *mapmem;*/
 	int i, j, slo, shi;
 
 	if(mmd->totlvl == multires_max_levels) {
@@ -1573,23 +1571,6 @@
 		mrdm->needsFree = 1;
 		mrdm->release(mrdm);
 	}
-
-	/* TODO: the edge and corner displacements aren't being subdivided according to catmull-clark rules */
-
-	/* Subdividing displacements at the edges of faces requires mesh connectivity data */
-	/*create_vert_face_map(&map, &mapmem, me->mface, me->totvert, me->totface);
-	for(i = 0; i < me->totface; ++i) {
-		for(j = 0; j < slo - 1; ++j) {
-			for(k = 0; k < slo; k += slo - 1) {
-				out = mdisps[i].disps[(j*2+1)*shi + k*2];
-
-				out = mdisps[i].disps[k*2*shi + j*2+1];
-			}
-		}
-	}
-
-	MEM_freeN(map);
-	MEM_freeN(mapmem);*/
 }
 
 void multiresModifier_setLevel(void *mmd_v, void *ob_v)





More information about the Bf-blender-cvs mailing list