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:
authorWilliam Reynish <billrey@me.com>2019-02-18 06:56:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-18 07:04:23 +0300
commit5bd98785976d1183d17536a3cdda79fb758fef87 (patch)
treefa913b34999317f3bfce074729c75bcbf6027637 /source/blender/makesrna/intern/rna_modifier.c
parent61a9f41cf5285cea60106a441d08172b5f9ec0df (diff)
RNA: use distance units
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r--source/blender/makesrna/intern/rna_modifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index cff1001e532..37be69fd89d 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -4592,7 +4592,7 @@ static void rna_def_modifier_wireframe(BlenderRNA *brna)
RNA_def_struct_ui_icon(srna, ICON_MOD_WIREFRAME);
- prop = RNA_def_property(srna, "thickness", PROP_FLOAT, PROP_NONE);
+ prop = RNA_def_property(srna, "thickness", PROP_FLOAT, PROP_DISTANCE);
RNA_def_property_float_sdna(prop, NULL, "offset");
RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);
RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.01, 4);