Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_brush.c
| Show First 20 Lines • Show All 992 Lines • ▼ Show 20 Lines | |||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Minimum Length", "Avoid shrinking curves shorter than this length"); | prop, "Minimum Length", "Avoid shrinking curves shorter than this length"); | ||||
| prop = RNA_def_property(srna, "interpolate_length", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "interpolate_length", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_CURVES_SCULPT_FLAG_INTERPOLATE_LENGTH); | RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_CURVES_SCULPT_FLAG_INTERPOLATE_LENGTH); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Interpolate Length", "Use length of the curves in close proximity"); | prop, "Interpolate Length", "Use length of the curves in close proximity"); | ||||
| prop = RNA_def_property(srna, "interpolate_point_count", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna( | |||||
| prop, NULL, "flag", BRUSH_CURVES_SCULPT_FLAG_INTERPOLATE_POINT_COUNT); | |||||
| RNA_def_property_ui_text(prop, | |||||
| "Interpolate Point Count", | |||||
| "Use the number of points from the curves in close proximity"); | |||||
| prop = RNA_def_property(srna, "interpolate_shape", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "interpolate_shape", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_CURVES_SCULPT_FLAG_INTERPOLATE_SHAPE); | RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_CURVES_SCULPT_FLAG_INTERPOLATE_SHAPE); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Interpolate Shape", "Use shape of the curves in close proximity"); | prop, "Interpolate Shape", "Use shape of the curves in close proximity"); | ||||
| prop = RNA_def_property(srna, "curve_length", PROP_FLOAT, PROP_DISTANCE); | prop = RNA_def_property(srna, "curve_length", PROP_FLOAT, PROP_DISTANCE); | ||||
| RNA_def_property_range(prop, 0.0, FLT_MAX); | RNA_def_property_range(prop, 0.0, FLT_MAX); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| ▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines | |||||