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
e87ab444
Commit
e87ab444
authored
2 years ago
by
Damien Picard
Browse files
Options
Downloads
Patches
Plain Diff
Create Camera Rigs: fix DoF bone for 2D rig
parent
26bc2925
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
add_camera_rigs/__init__.py
+1
-1
1 addition, 1 deletion
add_camera_rigs/__init__.py
add_camera_rigs/operators.py
+3
-1
3 additions, 1 deletion
add_camera_rigs/operators.py
with
4 additions
and
2 deletions
add_camera_rigs/__init__.py
+
1
−
1
View file @
e87ab444
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
bl_info
=
{
bl_info
=
{
"
name
"
:
"
Add Camera Rigs
"
,
"
name
"
:
"
Add Camera Rigs
"
,
"
author
"
:
"
Wayne Dixon, Brian Raschko, Kris Wittig, Damien Picard, Flavio Perez
"
,
"
author
"
:
"
Wayne Dixon, Brian Raschko, Kris Wittig, Damien Picard, Flavio Perez
"
,
"
version
"
:
(
1
,
5
,
0
),
"
version
"
:
(
1
,
5
,
1
),
"
blender
"
:
(
3
,
3
,
0
),
"
blender
"
:
(
3
,
3
,
0
),
"
location
"
:
"
View3D > Add > Camera > Dolly or Crane Rig
"
,
"
location
"
:
"
View3D > Add > Camera > Dolly or Crane Rig
"
,
"
description
"
:
"
Adds a Camera Rig with UI
"
,
"
description
"
:
"
Adds a Camera Rig with UI
"
,
...
...
This diff is collapsed.
Click to expand it.
add_camera_rigs/operators.py
+
3
−
1
View file @
e87ab444
...
@@ -82,7 +82,9 @@ class ADD_CAMERA_RIGS_OT_set_dof_bone(Operator, CameraRigMixin):
...
@@ -82,7 +82,9 @@ class ADD_CAMERA_RIGS_OT_set_dof_bone(Operator, CameraRigMixin):
rig
,
cam
=
get_rig_and_cam
(
context
.
active_object
)
rig
,
cam
=
get_rig_and_cam
(
context
.
active_object
)
cam
.
data
.
dof
.
focus_object
=
rig
cam
.
data
.
dof
.
focus_object
=
rig
cam
.
data
.
dof
.
focus_subtarget
=
'
Aim_shape_rotation-MCH
'
cam
.
data
.
dof
.
focus_subtarget
=
(
'
Center-MCH
'
if
rig
[
"
rig_id
"
].
lower
()
==
'
2d_rig
'
else
'
Aim_shape_rotation-MCH
'
)
return
{
'
FINISHED
'
}
return
{
'
FINISHED
'
}
...
...
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