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:
authorViktoriia Safiullina <safiuvik>2022-04-08 19:29:30 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-04-10 17:31:11 +0300
commita4f970e86b526b6ea9bf0ccacfd687581f479348 (patch)
tree8ff2a83da9b168b791327591edf1d9e16f693415 /source/blender/makesrna/intern/rna_camera.c
parent811371a6bddd5c3d7ea33fa8a5ccb7d3d36baf43 (diff)
UI: improve descriptions for camera lens and lens unit
Differential Revision: https://developer.blender.org/D14602
Diffstat (limited to 'source/blender/makesrna/intern/rna_camera.c')
-rw-r--r--source/blender/makesrna/intern/rna_camera.c4
1 files changed, 2 insertions, 2 deletions
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);