From b5667c2ca7f7cc33903b7f664dfbd3bccd8cdd22 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 29 Oct 2018 16:58:34 +0100 Subject: UI: allow off/on icons to be in reverse order. The same icons are reused for "hide" and "show" properties, which need to be in reverse order compared to each other. --- source/blender/makesrna/RNA_define.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/RNA_define.h') diff --git a/source/blender/makesrna/RNA_define.h b/source/blender/makesrna/RNA_define.h index 551805f6a80..e14dcbea09e 100644 --- a/source/blender/makesrna/RNA_define.h +++ b/source/blender/makesrna/RNA_define.h @@ -175,7 +175,7 @@ void RNA_def_property_string_default(PropertyRNA *prop, const char *value); void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description); void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision); -void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, bool consecutive); +void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive); void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *updatefunc); void RNA_def_property_editable_func(PropertyRNA *prop, const char *editable); -- cgit v1.2.3