[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18184] branches/soc-2008-nicholasbishop/ source/blender/src/sculptmode.c: Updated sculptmode' s anchored brush to work with the new multires.
Nicholas Bishop
nicholasbishop at gmail.com
Wed Dec 31 00:36:15 CET 2008
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];
}
}
More information about the Bf-blender-cvs
mailing list