Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_camera.c
| Show First 20 Lines • Show All 252 Lines • ▼ Show 20 Lines | void RNA_def_camera(BlenderRNA *brna) | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); | RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); | ||||
| prop = RNA_def_property(srna, "show_passepartout", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_passepartout", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", CAM_SHOWPASSEPARTOUT); | RNA_def_property_boolean_sdna(prop, NULL, "flag", CAM_SHOWPASSEPARTOUT); | ||||
| RNA_def_property_ui_text(prop, "Show Passepartout", | RNA_def_property_ui_text(prop, "Show Passepartout", | ||||
| "Show a darkened overlay outside the image area in Camera view"); | "Show a darkened overlay outside the image area in Camera view"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); | RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); | ||||
| prop = RNA_def_property(srna, "show_title_safe", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_safe_areas", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", CAM_SHOWTITLESAFE); | RNA_def_property_boolean_sdna(prop, NULL, "flag", CAM_SHOWTITLESAFE); | ||||
| RNA_def_property_ui_text(prop, "Show Safe Areas", "Show TV title safe and action safe zones in Camera view"); | RNA_def_property_ui_text(prop, "Show Safe Areas", "Show TV title safe and action safe areas in Camera view"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); | |||||
| prop = RNA_def_property(srna, "show_safe_center", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", CAM_SHOWCENTERSAFE); | |||||
| RNA_def_property_ui_text(prop, "Show Center-cut safe areas", "Show safe areas to fit content in a different aspect ratio"); | |||||
| RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); | RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); | ||||
| prop = RNA_def_property(srna, "show_name", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_name", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", CAM_SHOWNAME); | RNA_def_property_boolean_sdna(prop, NULL, "flag", CAM_SHOWNAME); | ||||
| RNA_def_property_ui_text(prop, "Show Name", "Show the active Camera's name in Camera view"); | RNA_def_property_ui_text(prop, "Show Name", "Show the active Camera's name in Camera view"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); | RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL); | ||||
| prop = RNA_def_property(srna, "show_sensor", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_sensor", PROP_BOOLEAN, PROP_NONE); | ||||
| Show All 24 Lines | |||||