forked from bartvdbraak/blender
Removing the not-working test "Submit description" from RMB
menu on buttons.
This commit is contained in:
parent
de55b7897c
commit
2ff790d0bd
@ -4264,12 +4264,13 @@ static int ui_but_menu(bContext *C, uiBut *but)
|
||||
RNA_string_set(&ptr_props, "doc_id", buf);
|
||||
uiItemFullO(layout, "WM_OT_doc_view", "View Docs", ICON_NULL, ptr_props.data, WM_OP_EXEC_DEFAULT, 0);
|
||||
|
||||
|
||||
WM_operator_properties_create(&ptr_props, "WM_OT_doc_edit");
|
||||
/* XXX inactive option, not for public! */
|
||||
/* WM_operator_properties_create(&ptr_props, "WM_OT_doc_edit");
|
||||
RNA_string_set(&ptr_props, "doc_id", buf);
|
||||
RNA_string_set(&ptr_props, "doc_new", RNA_property_description(but->rnaprop));
|
||||
|
||||
uiItemFullO(layout, "WM_OT_doc_edit", "Submit Description", ICON_NULL, ptr_props.data, WM_OP_INVOKE_DEFAULT, 0);
|
||||
*/
|
||||
}
|
||||
else if (but->optype) {
|
||||
WM_operator_py_idname(buf, but->optype->idname);
|
||||
|
Loading…
Reference in New Issue
Block a user