Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
@Brecht Van Lommel (brecht) The only thing left is to disable the brush and sculpt vertex colors icons from the sculpt mode toolbar. Is that possible to do with an experimental option?
Comment Actions
It appears to be possible like this:
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index 75e7cc1..b513839 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -2485,7 +2485,12 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel): None, _defs_sculpt.mesh_filter, _defs_sculpt.cloth_filter, - _defs_sculpt.color_filter, + lambda context: ( + (_defs_sculpt.color_filter,) + if bpy.context.preferences.view.show_developer_ui and \ + bpy.context.preferences.experimental.use_sculpt_vertex_colors + else () + ), None, _defs_sculpt.mask_by_color, None,
Comment Actions
@Brecht Van Lommel (brecht) Ok, I'll update the patch with that. And what for brush tools that are defined in the RNA in C? I guess that filtering them in the toolbar is not enough as they can still be selected from the sculpt tool menu for any brush
Comment Actions
I'm not sure how best to do that. That's pretty hidden anyway, I don't think it's a big problem.
| source/blender/nodes/shader/nodes/node_shader_vertex_color.c | ||
|---|---|---|
| 42–45 | This will still need to be properly fixed in D8185: Fix T78369: Sculpt Vertex Colors not rendering in EEVEE to support rendering either. | |