[Bf-blender-cvs] [a4f970e86b5] master: UI: improve descriptions for camera lens and lens unit
Viktoriia Safiullina
noreply at git.blender.org
Sun Apr 10 16:31:23 CEST 2022
Commit: a4f970e86b526b6ea9bf0ccacfd687581f479348
Author: Viktoriia Safiullina
Date: Fri Apr 8 18:29:30 2022 +0200
Branches: master
https://developer.blender.org/rBa4f970e86b526b6ea9bf0ccacfd687581f479348
UI: improve descriptions for camera lens and lens unit
Differential Revision: https://developer.blender.org/D14602
===================================================================
M source/blender/makesrna/intern/rna_camera.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_camera.c b/source/blender/makesrna/intern/rna_camera.c
index 118589332ea..794f08d850e 100644
--- a/source/blender/makesrna/intern/rna_camera.c
+++ b/source/blender/makesrna/intern/rna_camera.c
@@ -481,7 +481,7 @@ void RNA_def_camera(BlenderRNA *brna)
{0, NULL, 0, NULL, NULL},
};
static const EnumPropertyItem prop_lens_unit_items[] = {
- {0, "MILLIMETERS", 0, "Millimeters", "Specify the lens in millimeters"},
+ {0, "MILLIMETERS", 0, "Millimeters", "Specify focal length of the lens in millimeters"},
{CAM_ANGLETOGGLE,
"FOV",
0,
@@ -564,7 +564,7 @@ void RNA_def_camera(BlenderRNA *brna)
RNA_def_property_float_sdna(prop, NULL, "lens");
RNA_def_property_range(prop, 1.0f, FLT_MAX);
RNA_def_property_ui_range(prop, 1.0f, 5000.0f, 100, 4);
- RNA_def_property_ui_text(prop, "Focal Length", "Perspective Camera lens value in millimeters");
+ RNA_def_property_ui_text(prop, "Focal Length", "Perspective Camera focal length value in millimeters");
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Camera_update");
prop = RNA_def_property(srna, "sensor_width", PROP_FLOAT, PROP_DISTANCE_CAMERA);
More information about the Bf-blender-cvs
mailing list