Cleanup: quiet picky warnings

This commit is contained in:
Campbell Barton
2017-07-18 12:12:40 +10:00
parent 16fc2ad28e
commit 66383ea206
+2 -2
View File
@@ -3930,14 +3930,14 @@ static void rna_def_userdef_system(BlenderRNA *brna)
"DPI for addons to use when drawing custom user interface elements. Controlled by "
"operating system settings and Blender UI scale, with a reference value of 72 DPI. "
"Note that since this value includes a user defined scale, it is not always the "
"actual monitor DPI.");
"actual monitor DPI");
prop = RNA_def_property(srna, "pixel_size", PROP_FLOAT, PROP_NONE);
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_float_sdna(prop, NULL, "pixelsize");
RNA_def_property_ui_text(prop, "Pixel Size",
"Suggested line thickness and point size in pixels, for addons drawing custom user "
"interface elements. Controlled by operating system settings and Blender UI scale.");
"interface elements. Controlled by operating system settings and Blender UI scale");
prop = RNA_def_property(srna, "font_path_ui", PROP_STRING, PROP_FILEPATH);
RNA_def_property_string_sdna(prop, NULL, "font_path_ui");