=bmesh= fixed prop crasher and knifetool modal map typo
authorJoseph Eagar <joeedh@gmail.com>
Mon, 9 May 2011 22:05:07 +0000 (22:05 +0000)
committerJoseph Eagar <joeedh@gmail.com>
Mon, 9 May 2011 22:05:07 +0000 (22:05 +0000)
source/blender/editors/mesh/knifetool.c
source/blender/editors/transform/transform_conversions.c

index e010498391a444678b3140560541b86c5b7314bb..ca197194a975ca04cfb82d84d3246c4754c916fd 100755 (executable)
@@ -1780,7 +1780,7 @@ wmKeyMap* knifetool_modal_keymap(wmKeyConfig *keyconf)
        /* this function is called for each spacetype, only needs to add map once */
        if(keymap) return NULL;
        
-       keymap= WM_modalkeymap_add(keyconf, "Transform Modal Map", modal_items);
+       keymap= WM_modalkeymap_add(keyconf, "Knife Tool Modal Map", modal_items);
        
        /* items for modal map */
        WM_modalkeymap_add_item(keymap, ESCKEY,    KM_PRESS, KM_ANY, 0, KNF_MODAL_CONFIRM);
index ea8c88a82c88858fb3f88020aa3886dc4e48abd5..79cb33ce22b0a89351d438f70b429414a7c7a15e 100644 (file)
@@ -2485,7 +2485,7 @@ static void createTransUVs(bContext *C, TransInfo *t)
                                countsel++;
 
                        if(propmode)
-                               count += efa->len;
+                               count++;
                }
        }