From a4f970e86b526b6ea9bf0ccacfd687581f479348 Mon Sep 17 00:00:00 2001 From: Viktoriia Safiullina Date: Fri, 8 Apr 2022 18:29:30 +0200 Subject: [PATCH] UI: improve descriptions for camera lens and lens unit Differential Revision: https://developer.blender.org/D14602 --- source/blender/makesrna/intern/rna_camera.c | 4 ++-- 1 file 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);