[Bf-extensions-cvs] [dfb5851] master: fix for T45225 prevents copy to buffer. (ctrl/c)

Brendon Murphy noreply at git.blender.org
Sun Jun 28 18:58:15 CEST 2015


Commit: dfb5851a203c2f93c92afb75dbbadefadeb923e1
Author: Brendon Murphy
Date:   Mon Jun 29 02:57:45 2015 +1000
Branches: master
https://developer.blender.org/rBAdfb5851a203c2f93c92afb75dbbadefadeb923e1

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

===================================================================

M	space_view3d_copy_attributes.py

===================================================================

diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index 57e1a69..d6edff2 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -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'] = ''



More information about the Bf-extensions-cvs mailing list