RNA: use string-join to simplify operator register

Also sanity check macro-operator ID's.
This commit is contained in:
2017-08-23 18:17:42 +10:00
parent 81c0e643a0
commit cf8d35edc8
3 changed files with 101 additions and 100 deletions

View File

@@ -354,6 +354,7 @@ bool WM_operator_pystring_abbreviate(char *str, int str_len_max);
char *WM_prop_pystring_assign(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int index);
void WM_operator_bl_idname(char *to, const char *from);
void WM_operator_py_idname(char *to, const char *from);
bool WM_operator_py_idname_ok_or_report(struct ReportList *reports, const char *classname, const char *idname);
/* *************** uilist types ******************** */
void WM_uilisttype_init(void);