From 568be173266d42321909b1b9e047d214775c237c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 7 Oct 2009 13:22:56 +0000 Subject: Option to copy the data path of an RNA button --- source/blender/editors/interface/interface_anim.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/interface/interface_anim.c') diff --git a/source/blender/editors/interface/interface_anim.c b/source/blender/editors/interface/interface_anim.c index 8037a609a2f..facda32a41e 100644 --- a/source/blender/editors/interface/interface_anim.c +++ b/source/blender/editors/interface/interface_anim.c @@ -310,6 +310,9 @@ void ui_but_anim_menu(bContext *C, uiBut *but) } } + uiItemS(layout); + uiItemBooleanO(layout, "Copy Data Path", 0, "ANIM_OT_copy_clipboard_button", "all", 1); + uiPupMenuEnd(C, pup); } } -- cgit v1.2.3