[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18178] branches/soc-2008-nicholasbishop/ source/blender/blenkernel/intern/multires.c: Subsurf UVs with the multires modifier.

Nicholas Bishop nicholasbishop at gmail.com
Tue Dec 30 19:14:18 CET 2008


Revision: 18178
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18178
Author:   nicholasbishop
Date:     2008-12-30 19:14:15 +0100 (Tue, 30 Dec 2008)

Log Message:
-----------
Subsurf UVs with the multires modifier.

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-12-30 16:44:34 UTC (rev 18177)
+++ branches/soc-2008-nicholasbishop/source/blender/blenkernel/intern/multires.c	2008-12-30 18:14:15 UTC (rev 18178)
@@ -1268,6 +1268,7 @@
 
 	memset(&smd, 0, sizeof(SubsurfModifierData));
 	smd.levels = smd.renderLevels = mmd->lvl - 1;
+	smd.flags |= eSubsurfModifierFlag_SubsurfUv;
 
 	result = subsurf_make_derived_from_derived_with_multires(dm, &smd, &ms, useRenderParams, NULL, isFinalCalc, 0);
 	for(i = 0; i < result->getNumVerts(result); ++i)





More information about the Bf-blender-cvs mailing list