[Bf-extensions-cvs] [924cdef] master: Add 3D Printing category for addon.

Jonathan Williamson noreply at git.blender.org
Fri Jan 3 01:00:43 CET 2014


Commit: 924cdefeee117cc32d9452e4c5b3e154199d79d1
Author: Jonathan Williamson
Date:   Thu Jan 2 17:46:44 2014 -0600
https://developer.blender.org/rBA924cdefeee117cc32d9452e4c5b3e154199d79d1

Add 3D Printing category for addon.

This adds the 3D Printing category to the addon such that it's placed in a "3D Printing" tab of the 3D View Toolbar.

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

M	object_print3d_utils/ui.py

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

diff --git a/object_print3d_utils/ui.py b/object_print3d_utils/ui.py
index 58b8497..db50b07 100644
--- a/object_print3d_utils/ui.py
+++ b/object_print3d_utils/ui.py
@@ -25,6 +25,7 @@ from bpy.types import Panel
 from . import report
 
 class Print3DToolBar:
+    bl_category = "3D Printing"
     bl_label = "Print3D"
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'TOOLS'



More information about the Bf-extensions-cvs mailing list