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
2eaeb429
Commit
2eaeb429
authored
6 years ago
by
meta-androcto
Browse files
Options
Downloads
Patches
Plain Diff
space_view3d_3d_navigation: update class names
parent
ac8b28a0
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
+32
-32
32 additions, 32 deletions
space_view3d_3d_navigation.py
with
32 additions
and
32 deletions
space_view3d_3d_navigation.py
+
32
−
32
View file @
2eaeb429
...
...
@@ -47,7 +47,7 @@ from bpy.props import StringProperty
# main class of this toolbar
# re-ordered (reversed) Orbit Operators
class
OrbitUpView1
(
Operator
):
class
VIEW3D_OT_
OrbitUpView1
(
Operator
):
bl_idname
=
"
opr.orbit_up_view1
"
bl_label
=
"
Orbit Up View
"
bl_description
=
"
Orbit the view towards you
"
...
...
@@ -57,7 +57,7 @@ class OrbitUpView1(Operator):
return
{
'
FINISHED
'
}
class
OrbitLeftView1
(
Operator
):
class
VIEW3D_OT_
OrbitLeftView1
(
Operator
):
bl_idname
=
"
opr.orbit_left_view1
"
bl_label
=
"
Orbit Left View
"
bl_description
=
"
Orbit the view around to your Right
"
...
...
@@ -67,7 +67,7 @@ class OrbitLeftView1(Operator):
return
{
'
FINISHED
'
}
class
OrbitRightView1
(
Operator
):
class
VIEW3D_OT_
OrbitRightView1
(
Operator
):
bl_idname
=
"
opr.orbit_right_view1
"
bl_label
=
"
Orbit Right View
"
bl_description
=
"
Orbit the view around to your Left
"
...
...
@@ -77,7 +77,7 @@ class OrbitRightView1(Operator):
return
{
'
FINISHED
'
}
class
OrbitDownView1
(
Operator
):
class
VIEW3D_OT_
OrbitDownView1
(
Operator
):
bl_idname
=
"
opr.orbit_down_view1
"
bl_label
=
"
Orbit Down View
"
bl_description
=
"
Orbit the view away from you
"
...
...
@@ -89,7 +89,7 @@ class OrbitDownView1(Operator):
# re-ordered (reversed) Pan Operators
# just pass the enum from the VIEW3D_PT_pan_navigation1 Panel
class
PanUpViewsAll
(
Operator
):
class
VIEW3D_OT_
PanUpViewsAll
(
Operator
):
bl_idname
=
"
opr.pan_up_views_all
"
bl_label
=
"
Pan View
"
bl_description
=
"
Pan the 3D View
"
...
...
@@ -113,7 +113,7 @@ class PanUpViewsAll(Operator):
# Zoom Operators
class
ZoomInView1
(
Operator
):
class
VIEW3D_OT_
ZoomInView1
(
Operator
):
bl_idname
=
"
opr.zoom_in_view1
"
bl_label
=
"
Zoom In View
"
bl_description
=
"
Zoom In the View/Camera View
"
...
...
@@ -123,7 +123,7 @@ class ZoomInView1(Operator):
return
{
'
FINISHED
'
}
class
ZoomOutView1
(
Operator
):
class
VIEW3D_OT_
ZoomOutView1
(
Operator
):
bl_idname
=
"
opr.zoom_out_view1
"
bl_label
=
"
Zoom Out View
"
bl_description
=
"
Zoom out In the View/Camera View
"
...
...
@@ -134,7 +134,7 @@ class ZoomOutView1(Operator):
# Roll Operators
class
RollLeftView1
(
Operator
):
class
VIEW3D_OT_
RollLeftView1
(
Operator
):
bl_idname
=
"
opr.roll_left_view1
"
bl_label
=
"
Roll Left View
"
bl_description
=
"
Roll the view Left
"
...
...
@@ -144,7 +144,7 @@ class RollLeftView1(Operator):
return
{
'
FINISHED
'
}
class
RollRightView1
(
Operator
):
class
VIEW3D_OT_
RollRightView1
(
Operator
):
bl_idname
=
"
opr.roll_right_view1
"
bl_label
=
"
Roll Right View
"
bl_description
=
"
Roll the view Right
"
...
...
@@ -155,7 +155,7 @@ class RollRightView1(Operator):
# View Operators
class
LeftViewpoint1
(
Operator
):
class
VIEW3D_OT_
LeftViewpoint1
(
Operator
):
bl_idname
=
"
opr.left_viewpoint1
"
bl_label
=
"
Left Viewpoint
"
bl_description
=
"
View from the Left
"
...
...
@@ -165,7 +165,7 @@ class LeftViewpoint1(Operator):
return
{
'
FINISHED
'
}
class
RightViewpoint1
(
Operator
):
class
VIEW3D_OT_
RightViewpoint1
(
Operator
):
bl_idname
=
"
opr.right_viewpoint1
"
bl_label
=
"
Right Viewpoint
"
bl_description
=
"
View from the Right
"
...
...
@@ -175,7 +175,7 @@ class RightViewpoint1(Operator):
return
{
'
FINISHED
'
}
class
FrontViewpoint1
(
Operator
):
class
VIEW3D_OT_
FrontViewpoint1
(
Operator
):
bl_idname
=
"
opr.front_viewpoint1
"
bl_label
=
"
Front Viewpoint
"
bl_description
=
"
View from the Front
"
...
...
@@ -185,7 +185,7 @@ class FrontViewpoint1(Operator):
return
{
'
FINISHED
'
}
class
BackViewpoint1
(
Operator
):
class
VIEW3D_OT_
BackViewpoint1
(
Operator
):
bl_idname
=
"
opr.back_viewpoint1
"
bl_label
=
"
Back Viewpoint
"
bl_description
=
"
View from the Back
"
...
...
@@ -195,7 +195,7 @@ class BackViewpoint1(Operator):
return
{
'
FINISHED
'
}
class
TopViewpoint1
(
Operator
):
class
VIEW3D_OT_
TopViewpoint1
(
Operator
):
bl_idname
=
"
opr.top_viewpoint1
"
bl_label
=
"
Top Viewpoint
"
bl_description
=
"
View from the Top
"
...
...
@@ -205,7 +205,7 @@ class TopViewpoint1(Operator):
return
{
'
FINISHED
'
}
class
BottomViewpoint1
(
Operator
):
class
VIEW3D_OT_
BottomViewpoint1
(
Operator
):
bl_idname
=
"
opr.bottom_viewpoint1
"
bl_label
=
"
Bottom Viewpoint
"
bl_description
=
"
View from the Bottom
"
...
...
@@ -219,7 +219,7 @@ class BottomViewpoint1(Operator):
class
VIEW3D_PT_3dnavigationPanel
(
Panel
):
bl_space_type
=
"
VIEW_3D
"
bl_region_type
=
"
UI
"
bl_label
=
"
3
d
Nav
"
bl_label
=
"
3
D
Nav
"
bl_category
=
"
View
"
def
draw
(
self
,
context
):
...
...
@@ -357,23 +357,23 @@ class NavAddonPreferences(AddonPreferences):
classes
=
(
VIEW3D_PT_3dnavigationPanel
,
VIEW3D_PT_3dnavigationPanel2
,
OrbitUpView1
,
OrbitLeftView1
,
OrbitRightView1
,
OrbitDownView1
,
ZoomInView1
,
ZoomOutView1
,
RollLeftView1
,
RollRightView1
,
LeftViewpoint1
,
RightViewpoint1
,
FrontViewpoint1
,
BackViewpoint1
,
TopViewpoint1
,
BottomViewpoint1
,
VIEW3D_OT_OrbitUpView1
,
VIEW3D_OT_OrbitLeftView1
,
VIEW3D_OT_OrbitRightView1
,
VIEW3D_OT_OrbitDownView1
,
VIEW3D_OT_ZoomInView1
,
VIEW3D_OT_ZoomOutView1
,
VIEW3D_OT_RollLeftView1
,
VIEW3D_OT_RollRightView1
,
VIEW3D_OT_LeftViewpoint1
,
VIEW3D_OT_RightViewpoint1
,
VIEW3D_OT_FrontViewpoint1
,
VIEW3D_OT_BackViewpoint1
,
VIEW3D_OT_TopViewpoint1
,
VIEW3D_OT_BottomViewpoint1
,
VIEW3D_OT_PanUpViewsAll
,
NavAddonPreferences
,
PanUpViewsAll
,
)
)
# Register
...
...
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