Fix UI messages...

This commit is contained in:
Bastien Montagne 2017-07-27 15:20:44 +02:00
parent 4003409430
commit 1bd9531fda
Notes: blender-bot 2023-02-14 06:45:13 +01:00
Referenced by issue #52229, Shadow Catcher artifacts when under transparency
Referenced by issue #52207, High scale texture artifacts
1 changed files with 6 additions and 6 deletions

View File

@ -3927,17 +3927,17 @@ static void rna_def_userdef_system(BlenderRNA *brna)
prop = RNA_def_property(srna, "dpi", PROP_INT, PROP_NONE);
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_property_ui_text(prop, "DPI",
"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");
"DPI for add-ons 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)");
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");
"Suggested line thickness and point size in pixels, for add-ons drawing custom user "
"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");