Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2019-05-06 12:54:46 +0300
committerWilliam Reynish <billrey@me.com>2019-05-06 12:54:46 +0300
commitde430dd1ecd9ebbb05be0a2035805123e9d05aa8 (patch)
treeb358288698c2ccb11b1b79589948dc09c7bd3537 /source/blender/windowmanager
parent2e582f8ab53c7bcd9fabce8ec2b1d812ec28f58d (diff)
UI: Icons update
New icons from Andrzej Ambroż / jendrzych: - New icons for select tool modes - Brought back screen icon for viewport visibility toggles - Added new Instanced visibility toggle (unused currently - meant for forthcoming updates to the Outliner) - New Gizmo icon for the header - Many tweaks and alterations to existing icons. Full list on Devtalk - Use correct icon when Proportional Editing is disabled
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operator_props.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/windowmanager/intern/wm_operator_props.c b/source/blender/windowmanager/intern/wm_operator_props.c
index ece57f5a63b..735b9484392 100644
--- a/source/blender/windowmanager/intern/wm_operator_props.c
+++ b/source/blender/windowmanager/intern/wm_operator_props.c
@@ -344,11 +344,11 @@ void WM_operator_properties_gesture_box(wmOperatorType *ot)
void WM_operator_properties_select_operation(wmOperatorType *ot)
{
static const EnumPropertyItem select_mode_items[] = {
- {SEL_OP_SET, "SET", 0, "New", ""},
- {SEL_OP_ADD, "ADD", 0, "Add", ""},
- {SEL_OP_SUB, "SUB", 0, "Subtract", ""},
- {SEL_OP_XOR, "XOR", 0, "Difference", ""},
- {SEL_OP_AND, "AND", 0, "Intersect", ""},
+ {SEL_OP_SET, "SET", ICON_SELECT_SET, "New", ""},
+ {SEL_OP_ADD, "ADD", ICON_SELECT_EXTEND, "Add", ""},
+ {SEL_OP_SUB, "SUB", ICON_SELECT_SUBTRACT, "Subtract", ""},
+ {SEL_OP_XOR, "XOR", ICON_SELECT_DIFFERENCE, "Difference", ""},
+ {SEL_OP_AND, "AND", ICON_SELECT_INTERSECT, "Intersect", ""},
{0, NULL, 0, NULL, NULL},
};
PropertyRNA *prop = RNA_def_enum(ot->srna, "mode", select_mode_items, SEL_OP_SET, "Mode", "");
@@ -359,9 +359,9 @@ void WM_operator_properties_select_operation(wmOperatorType *ot)
void WM_operator_properties_select_operation_simple(wmOperatorType *ot)
{
static const EnumPropertyItem select_mode_items[] = {
- {SEL_OP_SET, "SET", 0, "New", ""},
- {SEL_OP_ADD, "ADD", 0, "Add", ""},
- {SEL_OP_SUB, "SUB", 0, "Subtract", ""},
+ {SEL_OP_SET, "SET", ICON_SELECT_SET, "New", ""},
+ {SEL_OP_ADD, "ADD", ICON_SELECT_EXTEND, "Add", ""},
+ {SEL_OP_SUB, "SUB", ICON_SELECT_SUBTRACT, "Subtract", ""},
{0, NULL, 0, NULL, NULL},
};
PropertyRNA *prop = RNA_def_enum(ot->srna, "mode", select_mode_items, SEL_OP_SET, "Mode", "");