[Bf-blender-cvs] [6a97668c9bf] blender-v3.4-release: Sculpt: Port cavity_from_mask propery naming changes to 3.4 branch

Joseph Eagar noreply at git.blender.org
Tue Nov 15 17:42:20 CET 2022


Commit: 6a97668c9bfac211a0b05ed2e7a099ed9446fd49
Author: Joseph Eagar
Date:   Tue Nov 15 08:41:42 2022 -0800
Branches: blender-v3.4-release
https://developer.blender.org/rB6a97668c9bfac211a0b05ed2e7a099ed9446fd49

Sculpt: Port cavity_from_mask propery naming changes to 3.4 branch

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_ops.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt_ops.c b/source/blender/editors/sculpt_paint/sculpt_ops.c
index dca0cc1a92c..6893bf1c9e2 100644
--- a/source/blender/editors/sculpt_paint/sculpt_ops.c
+++ b/source/blender/editors/sculpt_paint/sculpt_ops.c
@@ -1242,7 +1242,7 @@ static void SCULPT_OT_mask_from_cavity(wmOperatorType *ot)
                 0.5f,
                 0.0f,
                 5.0f,
-                "Cavity Factor",
+                "Factor",
                 "The contrast of the cavity mask",
                 0.0f,
                 1.0f);
@@ -1251,11 +1251,11 @@ static void SCULPT_OT_mask_from_cavity(wmOperatorType *ot)
               2,
               0,
               25,
-              "Cavity Blur",
+              "Blur",
               "The number of times the cavity mask is blurred",
               0,
               25);
-  RNA_def_boolean(ot->srna, "use_curve", false, "Use Curve", "");
+  RNA_def_boolean(ot->srna, "use_curve", false, "Custom Curve", "");
 
   RNA_def_boolean(ot->srna, "invert", false, "Cavity (Inverted)", "");
 }



More information about the Bf-blender-cvs mailing list