[Bf-extensions-cvs] [8ec6e60] master: Fix T38342: Cell Fracture is in the wrong tab.

Bastien Montagne noreply at git.blender.org
Sat Feb 22 14:54:40 CET 2014


Commit: 8ec6e6018e4352bf8da9fe756e4341c5845b0328
Author: Bastien Montagne
Date:   Sat Feb 22 14:53:44 2014 +0100
https://developer.blender.org/rBA8ec6e6018e4352bf8da9fe756e4341c5845b0328

Fix T38342: Cell Fracture is in the wrong tab.

Names of those panels should probably be cleaned up, but for now just put Cell in "Edit" tools panel.

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

M	object_fracture_cell/__init__.py

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

diff --git a/object_fracture_cell/__init__.py b/object_fracture_cell/__init__.py
index 4cb0497..abc8b7f 100644
--- a/object_fracture_cell/__init__.py
+++ b/object_fracture_cell/__init__.py
@@ -20,8 +20,8 @@ bl_info = {
     "name": "Cell Fracture",
     "author": "ideasman42, phymec, Sergey Sharybin",
     "version": (0, 1),
-    "blender": (2, 64, 0),
-    "location": "Search > Fracture Object & Add -> Fracture Helper Objects",
+    "blender": (2, 70, 0),
+    "location": "Edit panel of Tools tab, in Object mode, 3D View tools",
     "description": "Fractured Object, Bomb, Projectile, Recorder",
     "warning": "",
     "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/"
@@ -553,12 +553,12 @@ def menu_func(self, context):
 
 def register():
     bpy.utils.register_class(FractureCell)
-    bpy.types.VIEW3D_PT_tools_objectmode.append(menu_func)
+    bpy.types.VIEW3D_PT_tools_object.append(menu_func)
 
 
 def unregister():
     bpy.utils.unregister_class(FractureCell)
-    bpy.types.VIEW3D_PT_tools_objectmode.remove(menu_func)
+    bpy.types.VIEW3D_PT_tools_object.remove(menu_func)
 
 
 if __name__ == "__main__":



More information about the Bf-extensions-cvs mailing list