Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
008ca633
Commit
008ca633
authored
6 years ago
by
meta-androcto
Browse files
Options
Downloads
Patches
Plain Diff
3d Navigation: update bl_info to Sidebar, fix panel reg, re-order panel bl_ elements
parent
31c05651
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
space_view3d_3d_navigation.py
+7
-8
7 additions, 8 deletions
space_view3d_3d_navigation.py
with
7 additions
and
8 deletions
space_view3d_3d_navigation.py
+
7
−
8
View file @
008ca633
...
...
@@ -25,9 +25,9 @@
bl_info
=
{
"
name
"
:
"
3D Navigation
"
,
"
author
"
:
"
Demohero, uriel
"
,
"
version
"
:
(
1
,
2
,
3
),
"
version
"
:
(
1
,
2
,
4
),
"
blender
"
:
(
2
,
80
,
0
),
"
location
"
:
"
View3D >
Tool Shelf
> Display Tab
"
,
"
location
"
:
"
View3D >
Sidebar
> Display Tab
"
,
"
description
"
:
"
Navigate the Camera & 3D View from the Toolshelf
"
,
"
warning
"
:
""
,
"
wiki_url
"
:
"
https://wiki.blender.org/index.php/Extensions:2.6/Py/
"
...
...
@@ -217,10 +217,10 @@ class BottomViewpoint1(Operator):
# Panel class of this toolbar
class
VIEW3D_PT_3dnavigationPanel
(
Panel
):
bl_category
=
"
Display
"
bl_space_type
=
"
VIEW_3D
"
bl_region_type
=
"
UI
"
bl_label
=
"
3D Nav
"
bl_category
=
"
Display
"
def
draw
(
self
,
context
):
layout
=
self
.
layout
...
...
@@ -259,11 +259,10 @@ class VIEW3D_PT_3dnavigationPanel(Panel):
col
.
operator
(
"
view3d.snap_cursor_to_selected
"
,
text
=
"
Cursor to Selected
"
)
class
VIEW3D_PT_pan_navigation1
(
Panel
):
bl_idname
=
"
pan.navigation1
"
bl_label
=
"
Pan Orbit Zoom Roll
"
class
VIEW3D_PT_3dnavigationPanel2
(
Panel
):
bl_space_type
=
"
VIEW_3D
"
bl_region_type
=
"
UI
"
bl_label
=
"
Pan Orbit Zoom Roll
"
bl_category
=
"
Display
"
bl_options
=
{
'
DEFAULT_CLOSED
'
}
...
...
@@ -314,7 +313,7 @@ class VIEW3D_PT_pan_navigation1(Panel):
# Define Panel classes for updating
panels
=
(
VIEW3D_PT_3dnavigationPanel
,
VIEW3D_PT_
pan_
navigation
1
,
VIEW3D_PT_
3d
navigation
Panel2
,
)
...
...
@@ -357,7 +356,7 @@ class NavAddonPreferences(AddonPreferences):
classes
=
(
VIEW3D_PT_3dnavigationPanel
,
VIEW3D_PT_
pan_
navigation
1
,
VIEW3D_PT_
3d
navigation
Panel2
,
OrbitUpView1
,
OrbitLeftView1
,
OrbitRightView1
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment