diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-07 08:47:58 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-07 08:47:58 +0300 |
commit | b219a65dfaab7d417062146beba2b2db33d2f6f2 (patch) | |
tree | cb0dd077cb5828c22d0e7d3070d9de38ab2f7ad6 /source/blender/src/retopo.c | |
parent | f4ee0f4b4cac01c46ecc6857d401070066a64ac9 (diff) |
Fixed bug #5627, Retopo Paint doesn't work with LMB set as the main mouse button
Diffstat (limited to 'source/blender/src/retopo.c')
-rw-r--r-- | source/blender/src/retopo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/retopo.c b/source/blender/src/retopo.c index fea9b191690..428cd58eb98 100644 --- a/source/blender/src/retopo.c +++ b/source/blender/src/retopo.c @@ -40,6 +40,7 @@ #include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_screen_types.h" +#include "DNA_userdef_types.h" #include "DNA_view3d_types.h" #include "BDR_editobject.h" @@ -459,7 +460,7 @@ char retopo_paint(const unsigned short event) if(rpd) { RetopoPaintLine *l; short mouse[2]; - char lbut= get_mbut() & L_MOUSE; + char lbut= get_mbut() & (U.flag & USER_LMOUSESELECT ? R_MOUSE : L_MOUSE); if(rpd->paint_v3d && rpd->paint_v3d!=G.vd) return 1; |