[Bf-extensions-cvs] [2ea74c57] blender2.8: Update for changes in Blender

Campbell Barton noreply at git.blender.org
Mon Oct 15 05:24:34 CEST 2018


Commit: 2ea74c57f7a963122f3dc705d65518855ef3302e
Author: Campbell Barton
Date:   Mon Oct 15 14:24:20 2018 +1100
Branches: blender2.8
https://developer.blender.org/rBAC2ea74c57f7a963122f3dc705d65518855ef3302e

Update for changes in Blender

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

M	mesh_border_deselect_outer.py
M	space_view3d_toolshelf_menu.py

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

diff --git a/mesh_border_deselect_outer.py b/mesh_border_deselect_outer.py
index 6056ea16..52de0afe 100644
--- a/mesh_border_deselect_outer.py
+++ b/mesh_border_deselect_outer.py
@@ -75,7 +75,7 @@ class MESH_OT_border_deselect_outer(bpy.types.Operator):
             return {'CANCELLED'}
 
         if self.init:
-            bpy.ops.view3d.select_border('INVOKE_DEFAULT', extend=False)
+            bpy.ops.view3d.select_box('INVOKE_DEFAULT', extend=False)
             self.init = False
 
         return {'RUNNING_MODAL'}
diff --git a/space_view3d_toolshelf_menu.py b/space_view3d_toolshelf_menu.py
index e893e542..ba536ccd 100644
--- a/space_view3d_toolshelf_menu.py
+++ b/space_view3d_toolshelf_menu.py
@@ -1634,7 +1634,7 @@ class VIEW3D_MT_Hide_Masks2(Menu):
 
         props = layout.operator("paint.mask_lasso_gesture", text="Lasso Mask")
         UseSeparator(self, context)
-        props = layout.operator("view3d.select_border", text="Box Mask", icon="BORDER_RECT")
+        props = layout.operator("view3d.select_box", text="Box Mask", icon="BORDER_RECT")
         props = layout.operator("paint.hide_show", text="Box Hide")
         props.action = 'HIDE'
         props.area = 'INSIDE'
@@ -2232,7 +2232,7 @@ class VIEW3D_MT_Select_Object2(Menu):
     def draw(self, context):
         layout = self.layout
         layout.operator_context = 'INVOKE_REGION_WIN'
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         UseSeparator(self, context)
         layout.operator("object.select_all").action = 'TOGGLE'
@@ -2282,7 +2282,7 @@ class VIEW3D_MT_Select_Edit_Mesh2(Menu):
 
     def draw(self, context):
         layout = self.layout
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         UseSeparator(self, context)
         layout.operator("mesh.select_all").action = 'TOGGLE'
@@ -2348,7 +2348,7 @@ class VIEW3D_MT_Select_Edit_Curve2(Menu):
 
     def draw(self, context):
         layout = self.layout
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         UseSeparator(self, context)
         layout.operator("curve.select_all").action = 'TOGGLE'
@@ -2373,7 +2373,7 @@ class VIEW3D_MT_SelectArmatureMenu2(Menu):
 
     def draw(self, context):
         layout = self.layout
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("armature.select_all")
         layout.operator("armature.select_inverse", text="Inverse")
         layout.operator("armature.select_hierarchy",
@@ -2397,7 +2397,7 @@ class VIEW3D_MT_Select_Edit_Armature2(Menu):
     def draw(self, context):
         layout = self.layout
 
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
 
         UseSeparator(self, context)
@@ -2440,7 +2440,7 @@ class VIEW3D_MT_Select_Pose2(Menu):
 
     def draw(self, context):
         layout = self.layout
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         UseSeparator(self, context)
         layout.operator("pose.select_all").action = 'TOGGLE'
@@ -2521,7 +2521,7 @@ class VIEW3D_MT_Select_Edit_Surface2(Menu):
 
     def draw(self, context):
         layout = self.layout
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         UseSeparator(self, context)
         layout.operator("curve.select_all").action = 'TOGGLE'
@@ -2542,7 +2542,7 @@ class VIEW3D_MT_SelectMetaball2(Menu):
 
     def draw(self, context):
         layout = self.layout
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         UseSeparator(self, context)
         layout.operator("mball.select_all").action = 'TOGGLE'
@@ -2555,7 +2555,7 @@ class VIEW3D_MT_Select_Edit_Metaball2(Menu):
 
     def draw(self, context):
         layout = self.layout
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         layout.operator("mball.select_all").action = 'TOGGLE'
         layout.operator("mball.select_all", text="Inverse").action = 'INVERT'
@@ -2580,7 +2580,7 @@ class VIEW3D_MT_Select_Particle2(Menu):
     def draw(self, context):
         layout = self.layout
 
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         UseSeparator(self, context)
 
@@ -2607,7 +2607,7 @@ class VIEW3D_MT_Select_Edit_Lattice2(Menu):
     def draw(self, context):
         layout = self.layout
 
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         UseSeparator(self, context)
         layout.operator("lattice.select_mirror")
@@ -2627,7 +2627,7 @@ class VIEW3D_MT_Select_Gpencil2(Menu):
     def draw(self, context):
         layout = self.layout
 
-        layout.operator("gpencil.select_border")
+        layout.operator("gpencil.select_box")
         layout.operator("gpencil.select_circle")
 
         UseSeparator(self, context)
@@ -2665,7 +2665,7 @@ class VIEW3D_MT_Select_Paint_Mask2(Menu):
 
     def draw(self, context):
         layout = self.layout
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         layout.operator("paint.face_select_all").action = 'TOGGLE'
         layout.operator("paint.face_select_all", text="Inverse").action = 'INVERT'
@@ -2677,7 +2677,7 @@ class VIEW3D_MT_Select_Paint_Mask_Vertex2(Menu):
 
     def draw(self, context):
         layout = self.layout
-        layout.operator("view3d.select_border")
+        layout.operator("view3d.select_box")
         layout.operator("view3d.select_circle")
         layout.operator("paint.vert_select_all").action = 'TOGGLE'
         layout.operator("paint.vert_select_all", text="Inverse").action = 'INVERT'



More information about the Bf-extensions-cvs mailing list