mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: variable name in space_view3d.py
use explicit `operator_context` instead of short `ctx`
This commit is contained in:
parent
189c910069
commit
8b23d0d92d
1 changed files with 2 additions and 2 deletions
|
|
@ -4291,14 +4291,14 @@ class VIEW3D_MT_pose_slide(Menu):
|
|||
|
||||
def draw(self, _context):
|
||||
layout = self.layout
|
||||
ctx = layout.operator_context
|
||||
operator_context = layout.operator_context
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
layout.operator("pose.blend_with_rest")
|
||||
layout.operator("pose.push")
|
||||
layout.operator("pose.relax")
|
||||
layout.operator("pose.breakdown")
|
||||
layout.operator("pose.blend_to_neighbor")
|
||||
layout.operator_context = ctx
|
||||
layout.operator_context = operator_context
|
||||
|
||||
|
||||
class VIEW3D_MT_pose_propagate(Menu):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue