[Bf-blender-cvs] [d7e74520679] master: Quiet warning creating sculpt brush tooltips
Campbell Barton
noreply at git.blender.org
Thu Jun 6 08:00:01 CEST 2019
Commit: d7e745206799f61de332fdbe711910f3f6c6c773
Author: Campbell Barton
Date: Thu Jun 6 15:59:27 2019 +1000
Branches: master
https://developer.blender.org/rBd7e745206799f61de332fdbe711910f3f6c6c773
Quiet warning creating sculpt brush tooltips
===================================================================
M release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py
===================================================================
diff --git a/release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py b/release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py
index e08e8b45135..fe7068afc5a 100644
--- a/release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py
+++ b/release/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py
@@ -208,7 +208,7 @@ def generate(context, space_type):
properties=kmi_hack_brush_select_properties,
include={'KEYBOARD'},
)[1]
- elif mode == 'PARTICLE_EDIT':
+ elif mode in {'PARTICLE_EDIT', 'SCULPT_GPENCIL'}:
# Doesn't use brushes
pass
else:
More information about the Bf-blender-cvs
mailing list