[Bf-blender-cvs] [4df75063e1c] master: UI: Sub-type for Screen Grab Size.
Pablo Vazquez
noreply at git.blender.org
Thu Sep 12 12:24:02 CEST 2019
Commit: 4df75063e1ca4396b8eb6d72f39e3cded831b72f
Author: Pablo Vazquez
Date: Thu Sep 12 12:23:33 2019 +0200
Branches: master
https://developer.blender.org/rB4df75063e1ca4396b8eb6d72f39e3cded831b72f
UI: Sub-type for Screen Grab Size.
Set to Pixel.
===================================================================
M source/blender/makesrna/intern/rna_sculpt_paint.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list