Bugfix [#31128] Vertex Slide can't be aborted with ESC key
authorJoshua Leung <aligorith@gmail.com>
Sun, 29 Apr 2012 13:58:43 +0000 (13:58 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sun, 29 Apr 2012 13:58:43 +0000 (13:58 +0000)
source/blender/editors/mesh/editmesh_slide.c

index a82f34a46498ad67be1031d1487d9ab28f20e81c..36ce610c64b4804c387845ea20bcf0d0f4636a6a 100644 (file)
@@ -577,6 +577,7 @@ static int edbm_vertex_slide_modal(bContext *C, wmOperator *op, wmEvent *event)
                        break;
                }
                case RIGHTMOUSE:
+               case ESCKEY:
                {
                        /* Enforce redraw */
                        ED_region_tag_redraw(vso->active_region);