[Bf-blender-cvs] [a5b2841] master: RNA Doc: Camera shift affects all cameras (perspective, orthographic and even panoramic)

Dalai Felinto noreply at git.blender.org
Thu Jul 2 18:55:27 CEST 2015


Commit: a5b2841aa0c4b1b90d29077ba174ed31ae8ee4d9
Author: Dalai Felinto
Date:   Thu Jul 2 13:53:36 2015 -0300
Branches: master
https://developer.blender.org/rBa5b2841aa0c4b1b90d29077ba174ed31ae8ee4d9

RNA Doc: Camera shift affects all cameras (perspective, orthographic and even panoramic)

===================================================================

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 9aec0ea..b82f3c8 100644
--- a/source/blender/makesrna/intern/rna_camera.c
+++ b/source/blender/makesrna/intern/rna_camera.c
@@ -281,14 +281,14 @@ void RNA_def_camera(BlenderRNA *brna)
 	RNA_def_property_float_sdna(prop, NULL, "shiftx");
 	RNA_def_property_range(prop, -10.0f, 10.0f);
 	RNA_def_property_ui_range(prop, -2.0, 2.0, 1, 3);
-	RNA_def_property_ui_text(prop, "Shift X", "Perspective Camera horizontal shift");
+	RNA_def_property_ui_text(prop, "Shift X", "Camera horizontal shift");
 	RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Camera_update");
 
 	prop = RNA_def_property(srna, "shift_y", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "shifty");
 	RNA_def_property_range(prop, -10.0f, 10.0f);
 	RNA_def_property_ui_range(prop, -2.0, 2.0, 1, 3);
-	RNA_def_property_ui_text(prop, "Shift Y", "Perspective Camera vertical shift");
+	RNA_def_property_ui_text(prop, "Shift Y", "Camera vertical shift");
 	RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Camera_update");
 
 	prop = RNA_def_property(srna, "dof_distance", PROP_FLOAT, PROP_DISTANCE);




More information about the Bf-blender-cvs mailing list