Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2008-12-31 02:36:12 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2008-12-31 02:36:12 +0300
commitd1c71d7c250b3b5a4718569775b2879e1fd944e8 (patch)
tree9249b20e4ecd12834afc04680ab2b1afc066eb66
parentc6caa43e3ee6eb24e2f239a0471f248cf5cbe54e (diff)
Updated sculptmode's anchored brush to work with the new multires.
-rw-r--r--source/blender/src/sculptmode.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/src/sculptmode.c b/source/blender/src/sculptmode.c
index 1cfc9e615f3..9b358ee6f21 100644
--- a/source/blender/src/sculptmode.c
+++ b/source/blender/src/sculptmode.c
@@ -1741,11 +1741,11 @@ void sculpt(void)
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];
}
}