diff --git a/source/blender/src/vpaint.c b/source/blender/src/vpaint.c index d50c4358197..5391e72853a 100644 --- a/source/blender/src/vpaint.c +++ b/source/blender/src/vpaint.c @@ -898,11 +898,6 @@ void weight_paint(void) if((G.f & G_WEIGHTPAINT)==0) return; if(G.obedit) return; - if(G.qual & LR_CTRLKEY) { - sample_wpaint(); - return; - } - if(indexar==NULL) init_vertexpaint(); ob= OBACT; @@ -915,6 +910,11 @@ void weight_paint(void) if (!me->dvert) create_dverts(me); + if(G.qual & LR_CTRLKEY) { + sample_wpaint(); + return; + } + /* this happens on a Bone select, when no vgroup existed yet */ if(ob->actdef==0) { Object *modob;