Revision: 18184
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18184
Author:   nicholasbishop
Date:     2008-12-31 00:36:12 +0100 (Wed, 31 Dec 2008)

Log Message:
-----------
Updated sculptmode's anchored brush to work with the new multires.

Modified Paths:
--------------
    branches/soc-2008-nicholasbishop/source/blender/src/sculptmode.c

Modified: branches/soc-2008-nicholasbishop/source/blender/src/sculptmode.c
===================================================================
--- branches/soc-2008-nicholasbishop/source/blender/src/sculptmode.c    
2008-12-30 21:28:27 UTC (rev 18183)
+++ branches/soc-2008-nicholasbishop/source/blender/src/sculptmode.c    
2008-12-30 23:36:12 UTC (rev 18184)
@@ -1741,11 +1741,11 @@
                                if(anchored) {
                                        /* Restore the mesh before continuing 
with anchored stroke */
                                        if(a->mesh_store) {
-                                               for(i = 0; i < me->totvert; 
++i) {
-                                                       
VecCopyf(me->mvert[i].co, &a->mesh_store[i].x);
-                                                       me->mvert[i].no[0] = 
a->orig_norms[i][0];
-                                                       me->mvert[i].no[1] = 
a->orig_norms[i][1];
-                                                       me->mvert[i].no[2] = 
a->orig_norms[i][2];
+                                               for(i = 0; i < ss->totvert; 
++i) {
+                                                       
VecCopyf(ss->mvert[i].co, &a->mesh_store[i].x);
+                                                       ss->mvert[i].no[0] = 
a->orig_norms[i][0];
+                                                       ss->mvert[i].no[1] = 
a->orig_norms[i][1];
+                                                       ss->mvert[i].no[2] = 
a->orig_norms[i][2];
                                                }
                                        }
                                        


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to