Commit: 92221eaa5426eaf447e766388a1235747a6a6cc5 Author: Joshua Leung Date: Mon Jan 1 01:58:50 2018 +1300 Branches: PSketch-279 https://developer.blender.org/rB92221eaa5426eaf447e766388a1235747a6a6cc5
Fix: Don't show "Add/Subtract" for Push brush. It doesn't make sense =================================================================== M release/scripts/startup/bl_ui/space_view3d_toolbar.py =================================================================== diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 6e324409768..3a2bc97d7c5 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -920,7 +920,7 @@ class VIEW3D_PT_tools_posemode_sculpt(View3DPanel, Panel): row.prop_enum(brush, "direction", 'ADD', text="Rest Pose") #row.prop_enum(brush, "direction", 'SUBTRACT', text="Keyed") row.prop_enum(brush, "direction", 'SUBTRACT', text="Pre-Sculpt") - elif tool not in ('NONE', 'GRAB', 'SMOOTH'): + elif tool not in ('NONE', 'GRAB', 'PUSH', 'SMOOTH'): layout.row().prop(brush, "direction", expand=True) if tool in ('GRAB', 'PUSH', 'DRAW', 'ADJUST'): _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs