Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_camera.c
| Context not available. | |||||
| prop, "Focus Object", "Use this object to define the depth of field focal point"); | prop, "Focus Object", "Use this object to define the depth of field focal point"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Camera_dependency_update"); | RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Camera_dependency_update"); | ||||
| prop = RNA_def_property(srna, "focus_bone", PROP_STRING, PROP_NONE); | |||||
| RNA_def_property_string_sdna(prop, NULL, "focus_bone"); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Focus Bone", "Use this armature bone to define the depth of field focal point"); | |||||
| RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Camera_dependency_update"); | |||||
| prop = RNA_def_property(srna, "focus_distance", PROP_FLOAT, PROP_DISTANCE); | prop = RNA_def_property(srna, "focus_distance", PROP_FLOAT, PROP_DISTANCE); | ||||
| // RNA_def_property_pointer_sdna(prop, NULL, "focus_distance"); | // RNA_def_property_pointer_sdna(prop, NULL, "focus_distance"); | ||||
| RNA_def_property_range(prop, 0.0f, FLT_MAX); | RNA_def_property_range(prop, 0.0f, FLT_MAX); | ||||
| Context not available. | |||||