diff options
author | Matt Ebb <matt@mke3.net> | 2007-08-20 05:32:15 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2007-08-20 05:32:15 +0400 |
commit | e6838ec5b0263464dea5b0ec1da78c0b2c8889d0 (patch) | |
tree | 0a1b58ec5c1620c880146f7c98ce2b32ab4c0529 /source/blender/src/sculptmode.c | |
parent | 21c567854a35588aef445495d17706ff6c7d2245 (diff) |
* Change to the working of the left mouse select preference
Previously, the implementation of this was quite awkward, with
the preference swapping mouse buttons globally, rather than just
selection, as is advertised on the pref. This had the effect of
changing the painting in sculpt/texture paint/weight paint/etc to
the left mouse button. This was totally silly, since when using a
tablet, left mouse select is the sane way to go, but it meant
that every time you wanted to sculpt or paint, you had to switch
the mouse buttons around so you could actually use the tablet as
normal.
This commit fixes that, and makes the preference do just what it
says, use left mouse for selection (i.e. in object/edit mode) and
only that.
Diffstat (limited to 'source/blender/src/sculptmode.c')
-rw-r--r-- | source/blender/src/sculptmode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/src/sculptmode.c b/source/blender/src/sculptmode.c index 6547f03f976..43b33a5c9a8 100644 --- a/source/blender/src/sculptmode.c +++ b/source/blender/src/sculptmode.c @@ -1700,8 +1700,7 @@ void sculpt(void) mvalo[0]= mouse[0]; mvalo[1]= mouse[1]; - if (U.flag & USER_LMOUSESELECT) mousebut = R_MOUSE; - else mousebut = L_MOUSE; + mousebut = L_MOUSE; /* If modifier_calculations is true, then extra time must be spent updating the mesh. This takes a *lot* longer, so it's worth |