Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 5,060 Lines • ▼ Show 20 Lines | static void rna_def_userdef_edit(BlenderRNA *brna) | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Allow Negative Frames", | "Allow Negative Frames", | ||||
| "Current frame number can be manually set to a negative value"); | "Current frame number can be manually set to a negative value"); | ||||
| /* fcurve opacity */ | /* fcurve opacity */ | ||||
| prop = RNA_def_property(srna, "fcurve_unselected_alpha", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "fcurve_unselected_alpha", PROP_FLOAT, PROP_FACTOR); | ||||
| RNA_def_property_float_sdna(prop, NULL, "fcu_inactive_alpha"); | RNA_def_property_float_sdna(prop, NULL, "fcu_inactive_alpha"); | ||||
| RNA_def_property_range(prop, 0.001f, 1.0f); | RNA_def_property_range(prop, 0.001f, 1.0f); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text(prop, | ||||
| prop, | "Unselected F-Curve Opacity", | ||||
| "Unselected F-Curve Visibility", | "The opacity of unselected F-Curves against the " | ||||
| "Amount that unselected F-Curves stand out from the background (Graph Editor)"); | "background of the Graph Editor"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_GRAPH, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_GRAPH, NULL); | ||||
| /* grease pencil */ | /* grease pencil */ | ||||
| prop = RNA_def_property(srna, "grease_pencil_manhattan_distance", PROP_INT, PROP_PIXEL); | prop = RNA_def_property(srna, "grease_pencil_manhattan_distance", PROP_INT, PROP_PIXEL); | ||||
| RNA_def_property_int_sdna(prop, NULL, "gp_manhattandist"); | RNA_def_property_int_sdna(prop, NULL, "gp_manhattandist"); | ||||
| RNA_def_property_range(prop, 0, 100); | RNA_def_property_range(prop, 0, 100); | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Grease Pencil Manhattan Distance", | "Grease Pencil Manhattan Distance", | ||||
| ▲ Show 20 Lines • Show All 1,361 Lines • Show Last 20 Lines | |||||