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
4f34e011
Commit
4f34e011
authored
6 years ago
by
Stephen Leger
Browse files
Options
Downloads
Patches
Plain Diff
refine tracking solution: bugfix poll not checking for area clip
parent
a68c4204
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
space_clip_editor_refine_solution.py
+5
-2
5 additions, 2 deletions
space_clip_editor_refine_solution.py
with
5 additions
and
2 deletions
space_clip_editor_refine_solution.py
+
5
−
2
View file @
4f34e011
...
...
@@ -24,7 +24,7 @@ bl_info = {
"
name
"
:
"
Refine tracking solution
"
,
"
author
"
:
"
Stephen Leger
"
,
"
license
"
:
"
GPL
"
,
"
version
"
:
(
1
,
1
,
4
),
"
version
"
:
(
1
,
1
,
5
),
"
blender
"
:
(
2
,
80
,
0
),
"
location
"
:
"
Clip Editor > Tools > Solve > Refine Solution
"
,
"
description
"
:
"
Refine motion solution by setting track weight according
"
...
...
@@ -52,7 +52,10 @@ class TRACKING_OP_refine_solution(Operator):
@classmethod
def
poll
(
cls
,
context
):
return
(
context
.
area
.
spaces
.
active
.
clip
is
not
None
)
return
(
context
.
area
and
context
.
area
.
spaces
and
hasattr
(
context
.
area
.
spaces
.
active
,
'
clip
'
)
and
context
.
area
.
spaces
.
active
.
clip
is
not
None
)
def
execute
(
self
,
context
):
error
=
context
.
window_manager
.
TrackingTargetError
...
...
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