diff options
author | Adrian Newton <TFS> | 2020-03-09 19:49:14 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-03-09 20:49:42 +0300 |
commit | a468368540491a9364eb845fa25f2f421488d278 (patch) | |
tree | 190e1db78625e3a9d99ce8b0a5c60bb5ad6740ad /source/blender/makesrna/intern/rna_userdef.c | |
parent | be2e41c397ba4d13b13e817bee46628ce984bd6b (diff) |
UI: use pixel units for tile sizes and node auto-offset margin
Differential Revision: https://developer.blender.org/D7077
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 7250f8a2d59..f3077d5ab56 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -4987,7 +4987,7 @@ static void rna_def_userdef_edit(BlenderRNA *brna) /* Currently only used for insert offset (aka auto-offset), * maybe also be useful for later stuff though. */ - prop = RNA_def_property(srna, "node_margin", PROP_INT, PROP_NONE); + prop = RNA_def_property(srna, "node_margin", PROP_INT, PROP_PIXEL); RNA_def_property_int_sdna(prop, NULL, "node_margin"); RNA_def_property_ui_text( prop, "Auto-offset Margin", "Minimum distance between nodes for Auto-offsetting nodes"); |