Sculpt dyntopo: Fix a dumb mistake I made in space_toolsystem_toolbar.py

This commit is contained in:
Joseph Eagar 2021-08-22 10:29:36 -07:00
parent 8eb7a04150
commit 36785c83f0
1 changed files with 1 additions and 1 deletions

View File

@ -1290,7 +1290,7 @@ class _defs_sculpt:
# Use 'bpy.context' instead of 'context' since it can be None.
prefs = bpy.context.preferences
if not prefs.experimental.use_sculpt_vertex_colors:
exclude_filter = {'PAINT', 'SMEAR'}
exclude_filter = {'PAINT' : True, 'SMEAR' : True}
if not prefs.experimental.use_sculpt_uvsmooth:
exclude_filter['UV_SMOOTH'] = True