mirror of
https://github.com/blender/blender-addons.git
synced 2025-08-20 13:22:58 +00:00
fix for T45225 prevents copy to buffer. (ctrl/c)
This commit is contained in:
@ -266,6 +266,7 @@ class VIEW3D_MT_posecopypopup(bpy.types.Menu):
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
layout.operator("view3d.copybuffer", icon="COPY_ID")
|
||||
for op in pose_copies:
|
||||
layout.operator("pose.copy_" + op[0])
|
||||
layout.operator("pose.copy_selected_constraints")
|
||||
@ -596,6 +597,7 @@ class VIEW3D_MT_copypopup(bpy.types.Menu):
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
layout.operator("view3d.copybuffer", icon="COPY_ID")
|
||||
for op in object_copies:
|
||||
layout.operator("object.copy_" + op[0])
|
||||
layout.operator("object.copy_selected_constraints")
|
||||
@ -616,7 +618,8 @@ class MESH_MT_CopyFaceSettings(bpy.types.Menu):
|
||||
uv = len(mesh.uv_textures) > 1
|
||||
vc = len(mesh.vertex_colors) > 1
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("view3d.copybuffer", icon="COPY_ID")
|
||||
layout.operator("view3d.pastebuffer", icon="COPY_ID")
|
||||
op = layout.operator(MESH_OT_CopyFaceSettings.bl_idname,
|
||||
text="Copy Material")
|
||||
op['layer'] = ''
|
||||
|
Reference in New Issue
Block a user