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:
authorPablo Vazquez <venomgfx@gmail.com>2019-09-12 13:23:33 +0300
committerPablo Vazquez <venomgfx@gmail.com>2019-09-12 13:23:51 +0300
commit4df75063e1ca4396b8eb6d72f39e3cded831b72f (patch)
tree0741d60e0620fb5c4d36e7cd2775365ea8a6eb6f
parent18852460153506cda10b37ddf8af26b5482256d0 (diff)
UI: Sub-type for Screen Grab Size.
Set to Pixel.
-rw-r--r--source/blender/makesrna/intern/rna_sculpt_paint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index d98567ed691..ef550a079ad 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -1041,6 +1041,7 @@ static void rna_def_image_paint(BlenderRNA *brna)
0,
0);
RNA_def_property_range(prop, 512, 16384);
+ RNA_def_property_subtype(prop, PROP_PIXEL);
prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE);
RNA_def_property_flag(prop, PROP_CONTEXT_UPDATE);