diff options
author | Jacques Lucke <jacques@blender.org> | 2022-02-18 11:12:41 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-02-18 11:14:54 +0300 |
commit | 61aaeb3745ad72c681c17f4535dd06ffaaf78c58 (patch) | |
tree | c843b445e3e68938aa8c1f5f704dc55eb2be5c6d /source/blender/windowmanager/intern/wm_toolsystem.c | |
parent | 964d3a38fac8fd9ba90e6a94d26546f2d0651116 (diff) |
Curves: initial brush system integration for curves sculpt mode
This adds the boilerplate code that is necessary to use the tool/brush/paint
systems in the new sculpt curves mode.
Two temporary dummy tools are part of this patch. They do nothing and
only serve to test the boilerplate. When the first actual tool is added,
those dummy tools will be removed.
Differential Revision: https://developer.blender.org/D14117
Diffstat (limited to 'source/blender/windowmanager/intern/wm_toolsystem.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_toolsystem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c index 4ae935b14f2..e911a2801e5 100644 --- a/source/blender/windowmanager/intern/wm_toolsystem.c +++ b/source/blender/windowmanager/intern/wm_toolsystem.c @@ -663,6 +663,8 @@ static const char *toolsystem_default_tool(const bToolKey *tkey) return "builtin_brush.Weight"; case CTX_MODE_VERTEX_GPENCIL: return "builtin_brush.Draw"; + case CTX_MODE_SCULPT_CURVES: + return "builtin_brush.Test 1"; /* end temporary hack. */ case CTX_MODE_PARTICLE: |