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
d19e8785
Commit
d19e8785
authored
14 years ago
by
Brendon Murphy
Browse files
Options
Downloads
Patches
Plain Diff
trunk/py/scripts/addons/render_povray/camera_align.py
in wrong folder, removed.
parent
b8d9e823
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
render_povray/camera_align.py
+0
-90
0 additions, 90 deletions
render_povray/camera_align.py
with
0 additions
and
90 deletions
render_povray/camera_align.py
deleted
100644 → 0
+
0
−
90
View file @
b8d9e823
# 3D NAVIGATION TOOLBAR v1.1 - 3Dview Addon - Blender 2.5x
#
# THIS SCRIPT IS LICENSED UNDER GPL,
# please read the license block at the end of this code.
bl_addon_info
=
{
'
name
'
:
'
3D View: 3D Navigation 1.1 Updated
'
,
'
author
'
:
'
Version 1.0: Demohero, update 1.1: uriel
'
,
'
version
'
:
'
1.1 2010/08/22
'
,
'
blender
'
:
(
2
,
5
,
3
),
'
category
'
:
'
3D View
'
,
'
location
'
:
'
View3D > Toolbar
'
,
'
description
'
:
'
You can navigate to views from 3D Toolbar (Shortcut: T)
'
,
'
wiki_url
'
:
'
#
'
}
# import the basic library
import
bpy
# main class of this toolbar
class
VIEW3D_PT_3dnavigationPanel
(
bpy
.
types
.
Panel
):
bl_space_type
=
"
VIEW_3D
"
bl_region_type
=
"
TOOLS
"
bl_label
=
"
3D Views
"
def
draw
(
self
,
context
):
layout
=
self
.
layout
view
=
context
.
space_data
# Triple boutons
col
=
layout
.
column
(
align
=
True
)
row
=
col
.
row
()
row
.
operator
(
"
view3d.viewnumpad
"
,
text
=
"
View Camera
"
,
icon
=
'
CAMERA_DATA
'
).
type
=
'
CAMERA
'
row
=
col
.
row
()
row
.
operator
(
"
view3d.localview
"
,
text
=
"
View Global/Local
"
)
row
=
col
.
row
()
row
.
operator
(
"
view3d.view_persportho
"
,
text
=
"
View Persp/Ortho
"
)
# group of 6 buttons
col
=
layout
.
column
(
align
=
True
)
col
.
label
(
text
=
"
Align view from:
"
)
row
=
col
.
row
()
row
.
operator
(
"
view3d.viewnumpad
"
,
text
=
"
Front
"
).
type
=
'
FRONT
'
row
.
operator
(
"
view3d.viewnumpad
"
,
text
=
"
Back
"
).
type
=
'
BACK
'
row
=
col
.
row
()
row
.
operator
(
"
view3d.viewnumpad
"
,
text
=
"
Left
"
).
type
=
'
LEFT
'
row
.
operator
(
"
view3d.viewnumpad
"
,
text
=
"
Right
"
).
type
=
'
RIGHT
'
row
=
col
.
row
()
row
.
operator
(
"
view3d.viewnumpad
"
,
text
=
"
Top
"
).
type
=
'
TOP
'
row
.
operator
(
"
view3d.viewnumpad
"
,
text
=
"
Bottom
"
).
type
=
'
BOTTOM
'
row
=
col
.
row
()
# group of 2 buttons
col
=
layout
.
column
(
align
=
True
)
row
=
col
.
row
()
row
.
operator
(
"
view3d.view_selected
"
,
text
=
"
View at selected !
"
)
row
=
col
.
row
()
# bouton single
col
=
layout
.
column
(
align
=
True
)
row
=
col
.
row
()
row
.
operator
(
"
view3d.view_center_cursor
"
,
text
=
"
View at cursor
"
,
icon
=
'
CURSOR
'
).
type
=
'
CURSOR
'
row
=
col
.
row
()
# register the class
def
register
():
bpy
.
types
.
register
(
VIEW3D_PT_3dnavigationPanel
)
def
unregister
():
bpy
.
types
.
unregister
(
VIEW3D_PT_3dnavigationPanel
)
if
__name__
==
"
__main__
"
:
register
()
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# ##### END GPL LICENSE BLOCK #####
\ No newline at end of file
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