diff options
author | Jacques Lucke <jacques@blender.org> | 2022-04-20 10:51:14 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-04-20 10:51:14 +0300 |
commit | 31a2feceb8dc3709187d54e1f9600b0997c39242 (patch) | |
tree | c14bb6d7ae43c7e0278aba63df9847978cb2b814 /source | |
parent | f5191b87608f6607aa1dbd4b9409174db351984b (diff) |
Cleanup: remove unused curves toolsetting
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 6 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index d6c1040110f..9a9aef16306 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1021,16 +1021,10 @@ typedef enum CurvesSculptFlag { typedef struct CurvesSculpt { Paint paint; - /** Minimum distance between newly added curves on a surface. */ - float distance; - /** CurvesSculptFlag. */ uint32_t flag; - /** Length of newly added curves when it is not interpolated from other curves. */ float curve_length; - - char _pad[4]; } CurvesSculpt; typedef struct UvSculpt { diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 5c83a400cff..f416b024738 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -1571,13 +1571,6 @@ static void rna_def_curves_sculpt(BlenderRNA *brna) RNA_def_struct_path_func(srna, "rna_CurvesSculpt_path"); RNA_def_struct_ui_text(srna, "Curves Sculpt Paint", ""); - prop = RNA_def_property(srna, "distance", PROP_FLOAT, PROP_DISTANCE); - RNA_def_property_range(prop, 0.0f, FLT_MAX); - RNA_def_property_ui_range(prop, 0.0f, FLT_MAX, 1, 6); - RNA_def_property_ui_text( - prop, "Distance", "Radius around curves roots in which no new curves can be added"); - RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); - 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( |