Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_curve.c
| Show First 20 Lines • Show All 992 Lines • ▼ Show 20 Lines | |||||
| RNA_def_property_ui_text(prop, "Path", "Enable the curve to become a translation path"); | RNA_def_property_ui_text(prop, "Path", "Enable the curve to become a translation path"); | ||||
| RNA_def_property_update(prop, 0, "rna_Curve_update_data"); | RNA_def_property_update(prop, 0, "rna_Curve_update_data"); | ||||
| prop = RNA_def_property(srna, "use_path_follow", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_path_follow", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_FOLLOW); | RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_FOLLOW); | ||||
| RNA_def_property_ui_text(prop, "Follow", "Make curve path children to rotate along the path"); | RNA_def_property_ui_text(prop, "Follow", "Make curve path children to rotate along the path"); | ||||
| RNA_def_property_update(prop, 0, "rna_Curve_update_data"); | RNA_def_property_update(prop, 0, "rna_Curve_update_data"); | ||||
| prop = RNA_def_property(srna, "use_path_clamp", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_PATH_CLAMP); | |||||
| RNA_def_property_ui_text( | |||||
| prop, | |||||
| "Clamp", | |||||
| "Clamp the curve path children so they can't travel past the start/end point of the curve"); | |||||
| RNA_def_property_update(prop, 0, "rna_Curve_update_data"); | |||||
| prop = RNA_def_property(srna, "use_stretch", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_stretch", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_STRETCH); | RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_STRETCH); | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Stretch", | "Stretch", | ||||
| "Option for curve-deform: " | "Option for curve-deform: " | ||||
| "make deformed child to stretch along entire path"); | "make deformed child to stretch along entire path"); | ||||
| RNA_def_property_update(prop, 0, "rna_Curve_update_data"); | RNA_def_property_update(prop, 0, "rna_Curve_update_data"); | ||||
| ▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines | |||||