Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Z Normal", "Enable displacement along the Z normal"); | RNA_def_property_ui_text(prop, "Z Normal", "Enable displacement along the Z normal"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "time_offset", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "time_offset", PROP_FLOAT, PROP_TIME); | ||||
| RNA_def_property_float_sdna(prop, NULL, "timeoffs"); | RNA_def_property_float_sdna(prop, NULL, "timeoffs"); | ||||
| RNA_def_property_range(prop, MINAFRAMEF, MAXFRAMEF); | RNA_def_property_range(prop, MINAFRAMEF, MAXFRAMEF); | ||||
| RNA_def_property_ui_text(prop, "Time Offset", | RNA_def_property_ui_text(prop, "Time Offset", | ||||
| Context not available. | |||||
| RNA_def_property_string_funcs(prop, NULL, NULL, "rna_WaveModifier_defgrp_name_set"); | RNA_def_property_string_funcs(prop, NULL, NULL, "rna_WaveModifier_defgrp_name_set"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "speed", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "speed", PROP_FLOAT, PROP_TIME); | ||||
JacquesLucke: This speed and the `dry_speed` seem to work in opposite ways. | |||||
padthaiAuthorUnsubmitted Done Inline ActionsWill there be any changes in the units though? padthai: Will there be any changes in the units though? | |||||
| RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | ||||
| RNA_def_property_ui_range(prop, -1, 1, 10, 2); | RNA_def_property_ui_range(prop, -1, 1, 10, 2); | ||||
| RNA_def_property_ui_text(prop, "Speed", "Speed of the wave, towards the starting point when negative"); | RNA_def_property_ui_text(prop, "Speed", "Speed of the wave, towards the starting point when negative"); | ||||
| Context not available. | |||||
| RNA_def_struct_ui_icon(srna, ICON_MOD_WIREFRAME); | RNA_def_struct_ui_icon(srna, ICON_MOD_WIREFRAME); | ||||
| prop = RNA_def_property(srna, "thickness", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "thickness", PROP_FLOAT, PROP_UNIT_LENGTH); | ||||
| RNA_def_property_float_sdna(prop, NULL, "offset"); | RNA_def_property_float_sdna(prop, NULL, "offset"); | ||||
| RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | ||||
| RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.01, 4); | RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.01, 4); | ||||
| Context not available. | |||||
This speed and the dry_speed seem to work in opposite ways.