diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-05-23 17:31:59 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-05-23 17:32:46 +0300 |
commit | 9cb2b9b523ec73b8fab2d0d7785576e3ae9fb9f2 (patch) | |
tree | 0c9fe20dcfa17b6bd570be4541cd63566b8dbfac /source/blender/editors/interface | |
parent | d185f5be09067fb1ccc83194e49fec482aaefb0d (diff) |
Drivers UI (Part of T55145) - Show datablock that driven property belongs to instead of only the property
Otherwise, it's not clear where things are coming from.
FIXME: The icons for datablocks may not always be correct. It uses the
innermost struct's icon instead of the datablock's icon - e.g. Bone
vs Object/Armature. But, that may make more sense for users?
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index d597fde767f..1959821ecdd 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -6801,7 +6801,7 @@ static bool ui_but_menu(bContext *C, uiBut *but) } uiItemO(layout, CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Open Drivers Editor"), - ICON_NONE, "SCREEN_OT_drivers_editor_show"); + ICON_DRIVER, "SCREEN_OT_drivers_editor_show"); } /* Keying Sets */ |