Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-04-21 15:51:37 +0300
committerJacques Lucke <jacques@blender.org>2022-04-21 15:51:37 +0300
commited971a19fad4ce0c8b81dc4613336eff9322bd20 (patch)
tree90e906cee58497e700e53d920ea8970f2d58bc1b /source/blender/makesrna/intern/rna_sculpt_paint.c
parent2882cbe685e7eca2a79438998354035c5d665205 (diff)
Curves: show sculpt tool settings in panels
Ref T97444. Differential Revision: https://developer.blender.org/D14700
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r--source/blender/makesrna/intern/rna_sculpt_paint.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index f416b024738..017e8bde7a1 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -1565,28 +1565,10 @@ static void rna_def_gpencil_sculpt(BlenderRNA *brna)
static void rna_def_curves_sculpt(BlenderRNA *brna)
{
StructRNA *srna;
- PropertyRNA *prop;
srna = RNA_def_struct(brna, "CurvesSculpt", "Paint");
RNA_def_struct_path_func(srna, "rna_CurvesSculpt_path");
RNA_def_struct_ui_text(srna, "Curves Sculpt Paint", "");
-
- prop = RNA_def_property(srna, "interpolate_length", PROP_BOOLEAN, PROP_NONE);
- RNA_def_property_boolean_sdna(prop, NULL, "flag", CURVES_SCULPT_FLAG_INTERPOLATE_LENGTH);
- RNA_def_property_ui_text(
- prop, "Interpolate Length", "Use length of the curves in close proximity");
-
- prop = RNA_def_property(srna, "interpolate_shape", PROP_BOOLEAN, PROP_NONE);
- RNA_def_property_boolean_sdna(prop, NULL, "flag", CURVES_SCULPT_FLAG_INTERPOLATE_SHAPE);
- RNA_def_property_ui_text(
- prop, "Interpolate Shape", "Use shape of the curves in close proximity");
-
- prop = RNA_def_property(srna, "curve_length", PROP_FLOAT, PROP_DISTANCE);
- RNA_def_property_range(prop, 0.0, FLT_MAX);
- RNA_def_property_ui_text(
- prop,
- "Curve Length",
- "Length of newly added curves when it is not interpolated from other curves");
}
void RNA_def_sculpt_paint(BlenderRNA *brna)