Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
| Context not available. | |||||
| prop = RNA_def_property(srna, "use_stretch_u", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_stretch_u", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_SCREW_UV_STRETCH_U); | RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_SCREW_UV_STRETCH_U); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Stretch U", "Stretch the U coordinates between 0-1 when UV's are present"); | prop, "Stretch U", "Stretch the U coordinates between 0 and 1 when UV's are present"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "use_stretch_v", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_stretch_v", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_SCREW_UV_STRETCH_V); | RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_SCREW_UV_STRETCH_V); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Stretch V", "Stretch the V coordinates between 0-1 when UV's are present"); | prop, "Stretch V", "Stretch the V coordinates between 0 and 1 when UV's are present"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| # if 0 | # if 0 | ||||
| Context not available. | |||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Normalize Weights", | "Normalize Weights", | ||||
| "Normalize the resulting weights (otherwise they are only clamped within [0.0, 1.0] range)"); | "Normalize the resulting weights (otherwise they are only clamped within 0.0 to 1.0 range)"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "map_curve", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "map_curve", PROP_POINTER, PROP_NONE); | ||||
| Context not available. | |||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Normalize Weights", | "Normalize Weights", | ||||
| "Normalize the resulting weights (otherwise they are only clamped within [0.0, 1.0] range)"); | "Normalize the resulting weights (otherwise they are only clamped within 0.0 to 1.0 range)"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| RNA_define_lib_overridable(false); | RNA_define_lib_overridable(false); | ||||
| Context not available. | |||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Normalize Weights", | "Normalize Weights", | ||||
| "Normalize the resulting weights (otherwise they are only clamped within [0.0, 1.0] range)"); | "Normalize the resulting weights (otherwise they are only clamped within 0.0 to 1.0 range)"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "map_curve", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "map_curve", PROP_POINTER, PROP_NONE); | ||||
| Context not available. | |||||
| "FACTOR", | "FACTOR", | ||||
| 0, | 0, | ||||
| "Factor", | "Factor", | ||||
| "Control playback using a value between [0, 1]"}, | "Control playback using a value between 0 and 1"}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| Context not available. | |||||