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-02-21 14:49:36 +0300
committerJacques Lucke <jacques@blender.org>2022-02-21 14:49:36 +0300
commite2ffe88983938651a641e3d1be65f43c65a54901 (patch)
treebc39a92ae6afd0300fc9df38c740835cb173a758 /source/blender/makesrna/intern/rna_scene.c
parentfcb84e32e007fffeb9bcc573917d31857c9dd0cc (diff)
Curves: use paint cursor in curves sculpt mode
Also adds radius and strength control to the tool settings in the ui.
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r--source/blender/makesrna/intern/rna_scene.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 14c91bf7cd1..29b06060256 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2898,6 +2898,10 @@ static void rna_def_tool_settings(BlenderRNA *brna)
RNA_def_property_struct_type(prop, "Sculpt");
RNA_def_property_ui_text(prop, "Sculpt", "");
+ prop = RNA_def_property(srna, "curves_sculpt", PROP_POINTER, PROP_NONE);
+ RNA_def_property_struct_type(prop, "CurvesSculpt");
+ RNA_def_property_ui_text(prop, "Curves Sculpt", "");
+
prop = RNA_def_property(srna, "use_auto_normalize", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_flag(prop, PROP_CONTEXT_UPDATE);
RNA_def_property_boolean_sdna(prop, NULL, "auto_normalize", 1);