Skip to content
Snippets Groups Projects
Commit dfb5851a authored by Brendon Murphy's avatar Brendon Murphy
Browse files

fix for T45225 prevents copy to buffer. (ctrl/c)

parent f5f7b1df
No related branches found
No related tags found
No related merge requests found
......@@ -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'] = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment