Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Williamson <jonathan@cgcookie.com>2014-01-03 04:07:32 +0400
committerJonathan Williamson <jonathan@cgcookie.com>2014-01-03 04:07:32 +0400
commitc8b9732cdc354f3c02e6a0f874477f91b1baa2b0 (patch)
tree129caaa5b71a4a488747b47ae370beeeb5a943f4 /space_view3d_3d_navigation.py
parent924cdefeee117cc32d9452e4c5b3e154199d79d1 (diff)
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.
Diffstat (limited to 'space_view3d_3d_navigation.py')
-rw-r--r--space_view3d_3d_navigation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/space_view3d_3d_navigation.py b/space_view3d_3d_navigation.py
index f12914a5..8b229ca5 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