Removing the not-working test "Submit description" from RMB
authorTon Roosendaal <ton@blender.org>
Mon, 27 Dec 2010 11:05:01 +0000 (11:05 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 27 Dec 2010 11:05:01 +0000 (11:05 +0000)
menu on buttons.

source/blender/editors/interface/interface_handlers.c

index 4c35b3cf5c873eee2ac495385dd41b05b057717d..38a406e6f71165f63978b529cfa637a9e0c54f0a 100644 (file)
@@ -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);