[Bf-blender-cvs] [f51de2246c7] master: Fix T65641: Move to collection - arrow keys work in the opposite direction

Dalai Felinto noreply at git.blender.org
Fri Jun 14 17:58:45 CEST 2019


Commit: f51de2246c7916e7855421263253bc12a6764a24
Author: Dalai Felinto
Date:   Fri Jun 14 12:56:21 2019 -0300
Branches: master
https://developer.blender.org/rBf51de2246c7916e7855421263253bc12a6764a24

Fix T65641: Move to collection - arrow keys work in the opposite direction

Patch my Germano Cavalcante (mano-wii).

===================================================================

M	source/blender/editors/object/object_edit.c

===================================================================

diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c
index 8ccd35051c6..4f1154c02e3 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -1604,6 +1604,7 @@ static void move_to_collection_menu_create(bContext *UNUSED(C), uiLayout *layout
   MoveToCollectionData *menu = menu_v;
   const char *name = BKE_collection_ui_name_get(menu->collection);
 
+  UI_block_flag_enable(uiLayoutGetBlock(layout), UI_BLOCK_IS_FLIP);
   uiItemIntO(layout, name, ICON_NONE, menu->ot->idname, "collection_index", menu->index);
   uiItemS(layout);



More information about the Bf-blender-cvs mailing list