[Bf-extensions-cvs] [c8b9732] master: Update addon for 3D View Toolbar tabs.
Jonathan Williamson
noreply at git.blender.org
Fri Jan 3 01:09:25 CET 2014
Commit: c8b9732cdc354f3c02e6a0f874477f91b1baa2b0
Author: Jonathan Williamson
Date: Thu Jan 2 18:07:32 2014 -0600
https://developer.blender.org/rBAc8b9732cdc354f3c02e6a0f874477f91b1baa2b0
Update addon for 3D View Toolbar tabs.
This adds the "Navigation" category for the addon, thus assigning it a tab. Due to this, I've also made the panel open by default. It was closed.
===================================================================
M space_view3d_3d_navigation.py
===================================================================
diff --git a/space_view3d_3d_navigation.py b/space_view3d_3d_navigation.py
index f12914a..8b229ca 100644
--- a/space_view3d_3d_navigation.py
+++ b/space_view3d_3d_navigation.py
@@ -40,10 +40,10 @@ import bpy
# main class of this toolbar
class VIEW3D_PT_3dnavigationPanel(bpy.types.Panel):
+ bl_category = "Navigation"
bl_space_type = "VIEW_3D"
bl_region_type = "TOOLS"
bl_label = "3D Nav"
- bl_options = {"DEFAULT_CLOSED"}
def draw(self, context):
layout = self.layout
More information about the Bf-extensions-cvs
mailing list