[Bf-extensions-cvs] [d9931db] master: fix for toolshelf & restore multi extrude & add armature to mesh.

Brendon Murphy noreply at git.blender.org
Mon Jul 7 17:34:24 CEST 2014


Commit: d9931db73b49ed34cdd6433afe3a6d7347de3ea1
Author: Brendon Murphy
Date:   Tue Jul 8 01:33:18 2014 +1000
https://developer.blender.org/rBACd9931db73b49ed34cdd6433afe3a6d7347de3ea1

fix for toolshelf & restore multi extrude & add armature to mesh.

Signed-off-by: Brendon Murphy <meta.androcto1 at gmail.com>

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

M	mesh_extra_tools/__init__.py
M	mesh_extra_tools/mesh_mextrude_plus.py

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

diff --git a/mesh_extra_tools/__init__.py b/mesh_extra_tools/__init__.py
index 15c059c..70e2df8 100644
--- a/mesh_extra_tools/__init__.py
+++ b/mesh_extra_tools/__init__.py
@@ -85,6 +85,7 @@ class ExtrasPanel(bpy.types.Panel):
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'TOOLS'
     bl_context = 'mesh_edit'
+    bl_category = 'Addons'
     bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
@@ -124,6 +125,7 @@ class ExtrudePanel(bpy.types.Panel):
     bl_label = 'Multi Extrude Plus'
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'TOOLS'
+    bl_category = 'Addons'
     bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
diff --git a/mesh_extra_tools/mesh_mextrude_plus.py b/mesh_extra_tools/mesh_mextrude_plus.py
index 28487b5..c375f0c 100644
--- a/mesh_extra_tools/mesh_mextrude_plus.py
+++ b/mesh_extra_tools/mesh_mextrude_plus.py
@@ -282,7 +282,7 @@ class BB(bpy.types.Operator):
             scn.objects.active = obj
             for t in range(self.numb):
                 bpy.ops.object.mode_set(mode='EDIT')
-                bpy.ops.object.vertex_group_assign(new=True)
+                bpy.ops.object.vertex_group_add()
                 for m in range(self.skip+1):
                     bpy.ops.mesh.select_more()
                 bpy.ops.object.vertex_group_deselect()



More information about the Bf-extensions-cvs mailing list