forked from bartvdbraak/blender
RNA Doc: Camera shift affects all cameras (perspective, orthographic and even panoramic)
This commit is contained in:
parent
fdb474fc8a
commit
a5b2841aa0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user