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:
authorCampbell Barton <ideasman42@gmail.com>2019-01-02 09:23:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-02 09:24:24 +0300
commit15e63742e25028225f8746e1b663548e8c0569cd (patch)
treeaf6bf96e580e1530db5ba381b198a541291e6128 /source/blender/makesrna/intern/rna_brush.c
parent1a208f03260b8b11977b1b2d41ca550711c57257 (diff)
Cleanup: use RNA icon instead of passing as an arg
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r--source/blender/makesrna/intern/rna_brush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 7ccdf32b44c..03081ff606d 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -1734,6 +1734,7 @@ static void rna_def_brush(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Use Blender Units",
"When locked brush stays same size relative to object; when unlocked brush size is "
"given in pixels");
+ RNA_def_property_ui_icon(prop, ICON_UNLOCKED, true);
RNA_def_property_update(prop, 0, "rna_Brush_update");
prop = RNA_def_property(srna, "use_edge_to_edge", PROP_BOOLEAN, PROP_NONE);