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-03-21 04:10:32 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2008-03-21 04:10:32 +0300
commitb7bdc6c7a11fdd9615c3d07f1b3b028fe47bbd57 (patch)
tree4f5168026f4914e5cb335585da586b102a0a51ff /source/blender/src/view.c
parent734db8cbffd0e7937879f698a65ced4589469b2a (diff)
Fixed bug #8514, sculpt: pivot last and undo
Undoing in sculpt mode correctly returns to previous pivots now.
Diffstat (limited to 'source/blender/src/view.c')
-rw-r--r--source/blender/src/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/view.c b/source/blender/src/view.c
index abb49c0ec9d..90138abb9ab 100644
--- a/source/blender/src/view.c
+++ b/source/blender/src/view.c
@@ -579,7 +579,7 @@ void viewmove(int mode)
use_sel= 1;
VecCopyf(ofs, G.vd->ofs);
- VecCopyf(obofs,&sculpt_session()->pivot.x);
+ VecCopyf(obofs, sculpt_data()->pivot);
Mat4MulVecfl(ob->obmat, obofs);
obofs[0]= -obofs[0];
obofs[1]= -obofs[1];