[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37354] branches/soc-2011-onion/source/ blender/editors/uvedit/uvedit_unwrap_ops.c: non-chalantly whistling and correcting this last grave bug-commit.

Ryakiotakis Antonis kalast at gmail.com
Fri Jun 10 02:57:27 CEST 2011


Revision: 37354
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37354
Author:   psy-fi
Date:     2011-06-10 00:57:27 +0000 (Fri, 10 Jun 2011)
Log Message:
-----------
non-chalantly whistling and correcting this last grave bug-commit.

Modified Paths:
--------------
    branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_unwrap_ops.c

Modified: branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_unwrap_ops.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_unwrap_ops.c	2011-06-10 00:52:41 UTC (rev 37353)
+++ branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_unwrap_ops.c	2011-06-10 00:57:27 UTC (rev 37354)
@@ -250,9 +250,9 @@
 		vkeys[2] = (ParamKey)efa->v3->tmp.l;
 
 		if(use_subsurf){
-			co[0] = subsurfedVerts[efa->v1->tmp.l].co;
-			co[1] = subsurfedVerts[efa->v2->tmp.l].co;
-			co[2] = subsurfedVerts[efa->v3->tmp.l].co;
+			co[0] = subsurfedVerts[indexMap[efa->v1->tmp.l]].co;
+			co[1] = subsurfedVerts[indexMap[efa->v2->tmp.l]].co;
+			co[2] = subsurfedVerts[indexMap[efa->v3->tmp.l]].co;
 		} else {
 			co[0] = efa->v1->co;
 			co[1] = efa->v2->co;




More information about the Bf-blender-cvs mailing list