Fix #28942: Minimize stretch in UV editing has no continues grab
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 20 Oct 2011 08:03:29 +0000 (08:03 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 20 Oct 2011 08:03:29 +0000 (08:03 +0000)
source/blender/editors/uvedit/uvedit_unwrap_ops.c

index ae4718d8f5649385afa4e4fe60e7172dd357705f..7f6394e822bf12f0e7fe7e7e24b2ff9af3bc797e 100644 (file)
@@ -464,7 +464,7 @@ void UV_OT_minimize_stretch(wmOperatorType *ot)
        /* identifiers */
        ot->name= "Minimize Stretch";
        ot->idname= "UV_OT_minimize_stretch";
-       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+       ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_GRAB_POINTER|OPTYPE_BLOCKING;
        ot->description="Reduce UV stretching by relaxing angles";
        
        /* api callbacks */