[Bf-blender-cvs] [057b78c40cf] blender-v2.82-release: Grease Pencil: UI: Clarifiy Erase modes

Aaron Carlisle noreply at git.blender.org
Tue Feb 4 10:37:15 CET 2020


Commit: 057b78c40cf3b79e9cc8a7225d82c0166db693e9
Author: Aaron Carlisle
Date:   Tue Feb 4 10:35:31 2020 +0100
Branches: blender-v2.82-release
https://developer.blender.org/rB057b78c40cf3b79e9cc8a7225d82c0166db693e9

Grease Pencil: UI: Clarifiy Erase modes

The erase mode has an option to change the erase mode from soft/hard/stroke.
However, there are 4 brush types: hard/soft/point/stroke. Hard and Soft here are similar (they are both "soft" erase mode) only having different strengths.
The erase mode should be soft (Maybe this should be renamed to something more generic like "fade"), point, stroke.

Reviewed By: #user_interface, #grease_pencil, billreynish, antoniov

Differential Revision: https://developer.blender.org/D6733

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

M	source/blender/makesrna/intern/rna_brush.c

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

diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index aded0a6ba09..b0ee5da82b3 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -151,9 +151,9 @@ const EnumPropertyItem rna_enum_brush_gpencil_types_items[] = {
 
 #ifndef RNA_RUNTIME
 static EnumPropertyItem rna_enum_gpencil_brush_eraser_modes_items[] = {
-    {GP_BRUSH_ERASER_SOFT, "SOFT", 0, "Soft", "Use soft eraser"},
-    {GP_BRUSH_ERASER_HARD, "HARD", 0, "Hard", "Use hard eraser"},
-    {GP_BRUSH_ERASER_STROKE, "STROKE", 0, "Stroke", "Use stroke eraser"},
+    {GP_BRUSH_ERASER_SOFT, "SOFT", 0, "Dissolve,", "Erase strokes, fading their points strength and thickness"},
+    {GP_BRUSH_ERASER_HARD, "HARD", 0, "Point", "Erase stroke points"},
+    {GP_BRUSH_ERASER_STROKE, "STROKE", 0, "Stroke", "Erase entire strokes"},
     {0, NULL, 0, NULL, NULL},
 };



More information about the Bf-blender-cvs mailing list