Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-11-09 07:43:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-09 07:43:34 +0300
commitb3597f310d0e34b021b83fe6c94bdf258ced24ed (patch)
treec100ebc3a6bc3d7d0fc74da2863596a71cf7599f /release
parentafc60f995701ec6d41a05823b248db624ea1fcc6 (diff)
Fix T92469: Transform tools inaccessible in weight-paint + pose mode
Expose transform tools when in weight paint mode with pose-mode enabled, displaying transform tools in the toolbar, as is already done in object & pose mode. These are only shown when weight-paint + pose mode are active at once. This allows single key-strokes to activate tools, needed when tool-access is set as the default action for G/R/S key bindings. Reviewed By: JulienKaspar Ref D13028
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index c07487079de..2253dfa5f5d 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -3001,7 +3001,11 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel):
),
None,
lambda context: (
- (_defs_view3d_generic.cursor,)
+ (
+ _defs_view3d_generic.cursor,
+ None,
+ *VIEW3D_PT_tools_active._tools_transform,
+ )
if context is None or context.pose_object
else ()
),