From 8af1d1b199018c11432e81156f5c65a9215113ef Mon Sep 17 00:00:00 2001 From: William Reynish Date: Fri, 17 May 2019 23:22:22 +0200 Subject: UI: Icons update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New icons from Andrzej Ambroż / Jendrzych: - Bespoke icon for creating new Collections - Special icons for Rigid Body and Rigid Body Constraints (Physics Properties) - New icons for Holdout and Indirect Only toggles in the Outliner - New generic Cursor icon for cases that are not related to either Orientation or Pivot Many other tweaks to existing icons, including: - Add & Remove Keyframe - Weight Paint & Collision Modifier - Tablet Pressure Sensitivity - Playback icons --- source/blender/makesrna/intern/rna_layer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/intern/rna_layer.c') diff --git a/source/blender/makesrna/intern/rna_layer.c b/source/blender/makesrna/intern/rna_layer.c index 0f8a2ee56ac..63bb091b406 100644 --- a/source/blender/makesrna/intern/rna_layer.c +++ b/source/blender/makesrna/intern/rna_layer.c @@ -308,14 +308,14 @@ static void rna_def_layer_collection(BlenderRNA *brna) prop = RNA_def_property(srna, "holdout", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", LAYER_COLLECTION_HOLDOUT); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); - RNA_def_property_ui_icon(prop, ICON_CLIPUV_HLT, -1); + RNA_def_property_ui_icon(prop, ICON_HOLDOUT_OFF, 1); RNA_def_property_ui_text(prop, "Holdout", "Mask out objects in collection from view layer"); RNA_def_property_update(prop, NC_SCENE | ND_LAYER, "rna_LayerCollection_update"); prop = RNA_def_property(srna, "indirect_only", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", LAYER_COLLECTION_INDIRECT_ONLY); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); - RNA_def_property_ui_icon(prop, ICON_MOD_PHYSICS, 0); + RNA_def_property_ui_icon(prop, ICON_INDIRECT_ONLY_OFF, 1); RNA_def_property_ui_text( prop, "Indirect Only", -- cgit v1.2.3