Commit: 80fa528529e28218084830d4c741bde24b6a8483
Author: Bastien Montagne
Date:   Thu Dec 3 12:50:09 2015 +0100
Branches: master
https://developer.blender.org/rB80fa528529e28218084830d4c741bde24b6a8483

Fix FileBrowser 'context-editing' properties shortcuts not being displayed in 
tooltip.

Also related to T46918.

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

M       source/blender/editors/interface/interface.c

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

diff --git a/source/blender/editors/interface/interface.c 
b/source/blender/editors/interface/interface.c
index e03273a..79a7f4f 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -1046,6 +1046,10 @@ static bool ui_but_event_property_operator_string(const 
bContext *C, uiBut *but,
                                                /* dopesheet filtering 
options... */
                                                data_path = 
BLI_sprintfN("space_data.dopesheet.%s", RNA_property_identifier(but->rnaprop));
                                        }
+                                       else if 
(RNA_struct_is_a(but->rnapoin.type, &RNA_FileSelectParams)) {
+                                               /* Filebrowser options... */
+                                               data_path = 
BLI_sprintfN("space_data.params.%s", RNA_property_identifier(but->rnaprop));
+                                       }
                                }
                        }
                        else if (GS(id->name) == ID_SCE) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to