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:
authorJoshua Leung <aligorith@gmail.com>2007-09-01 08:24:16 +0400
committerJoshua Leung <aligorith@gmail.com>2007-09-01 08:24:16 +0400
commit778b690a615dc56f039266db7bf6343edaa315a6 (patch)
tree874c39173fa5f322a7dfc60e81a5ecc769769b93 /source/blender/src
parent50ea5681794e1494d5b293539ff52ba3ca78c349 (diff)
Bugfix:
Snap Cursor to Selected in EditMode for bone was still not working correctly. A missing check made it impossible to snap to joints in some situations.
Diffstat (limited to 'source/blender/src')
-rw-r--r--source/blender/src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/edit.c b/source/blender/src/edit.c
index f96f972e641..ca6239b5580 100644
--- a/source/blender/src/edit.c
+++ b/source/blender/src/edit.c
@@ -1005,7 +1005,7 @@ static void make_trans_verts(float *min, float *max, int mode)
tottrans++;
}
- if (mode & 2) {
+ if ((mode & 2) && (tipsel)) {
VECCOPY (tv->oldloc, ebo->tail);
tv->loc= ebo->tail;
tv->nor= NULL;