fix for error with console command history not working, using previous settings.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 23 Mar 2012 07:08:28 +0000 (07:08 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 23 Mar 2012 07:08:28 +0000 (07:08 +0000)
source/blender/bmesh/intern/bmesh_core.c
source/blender/editors/space_console/space_console.c

index 2b5a96057dc587eaa5475e1422800b121f4d0648..d9973550440697a2144b8f1ec4d3a709354f64f8 100644 (file)
@@ -1743,6 +1743,7 @@ int BM_vert_splice(BMesh *bm, BMVert *v, BMVert *vtarget)
  * vertex for each region. returns an array of all resulting vertices.
  *
  * \note this is a low level function, bm_edge_separate needs to run on edges first
+ * or, the faces sharing verts must not be sharing edges for them to split at least.
  *
  * \return Success
  */
index d781179249b23e63b1ce5cfc2da3d531d1072416..66626fadff1c3e88fc6f18da33b0de6e857eb6a7 100644 (file)
@@ -293,9 +293,8 @@ static void console_keymap(struct wmKeyConfig *keyconf)
        RNA_enum_set(WM_keymap_add_item(keymap, "CONSOLE_OT_move", LEFTARROWKEY, KM_PRESS, 0, 0)->ptr, "type", PREV_CHAR);
        RNA_enum_set(WM_keymap_add_item(keymap, "CONSOLE_OT_move", RIGHTARROWKEY, KM_PRESS, 0, 0)->ptr, "type", NEXT_CHAR);
        
-       kmi = WM_keymap_add_item(keymap, "CONSOLE_OT_history_cycle", UPARROWKEY, KM_PRESS, 0, 0);
-       RNA_boolean_set(kmi->ptr, "reverse", TRUE);
-       WM_keymap_add_item(keymap, "CONSOLE_OT_history_cycle", DOWNARROWKEY, KM_PRESS, 0, 0);
+       RNA_boolean_set(WM_keymap_add_item(keymap, "CONSOLE_OT_history_cycle", UPARROWKEY, KM_PRESS, 0, 0)->ptr, "reverse", TRUE);
+       RNA_boolean_set(WM_keymap_add_item(keymap, "CONSOLE_OT_history_cycle", DOWNARROWKEY, KM_PRESS, 0, 0)->ptr, "reverse", FALSE);
        
 #if 0
        RNA_enum_set(WM_keymap_add_item(keymap, "CONSOLE_OT_move", LEFTARROWKEY, KM_PRESS, KM_CTRL, 0)->ptr, "type", PREV_WORD);