Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_dynamicpaint.c
| Show First 20 Lines • Show All 583 Lines • ▼ Show 20 Lines | # endif | ||||
| RNA_def_property_range(prop, 0.001, 10.0); | RNA_def_property_range(prop, 0.001, 10.0); | ||||
| RNA_def_property_ui_range(prop, 0.01, 5.0, 1, 2); | RNA_def_property_ui_range(prop, 0.01, 5.0, 1, 2); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Shrink Speed", "How fast shrink effect moves on the canvas surface"); | prop, "Shrink Speed", "How fast shrink effect moves on the canvas surface"); | ||||
| prop = RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_struct_type(prop, "EffectorWeights"); | RNA_def_property_struct_type(prop, "EffectorWeights"); | ||||
| RNA_def_property_clear_flag(prop, PROP_EDITABLE); | RNA_def_property_clear_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); | |||||
| RNA_def_property_ui_text(prop, "Effector Weights", ""); | RNA_def_property_ui_text(prop, "Effector Weights", ""); | ||||
| prop = RNA_def_property(srna, "drip_velocity", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "drip_velocity", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "drip_vel"); | RNA_def_property_float_sdna(prop, NULL, "drip_vel"); | ||||
| RNA_def_property_range(prop, -200.0f, 200.0f); | RNA_def_property_range(prop, -200.0f, 200.0f); | ||||
| RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.1, 3); | RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.1, 3); | ||||
| RNA_def_property_ui_text(prop, "Velocity", "How much surface velocity affects dripping"); | RNA_def_property_ui_text(prop, "Velocity", "How much surface velocity affects dripping"); | ||||
| ▲ Show 20 Lines • Show All 406 Lines • Show Last 20 Lines | |||||