Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-11-05 12:04:27 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-11-05 12:04:27 +0400
commit3bd7816c75215a0c2dc47a9014adab9d6ca431db (patch)
treeac744cb91f4ba80dcc87bbaf36d2181c24862bf7 /release
parent008630abfc65ebc33be48f05a40694394f5be392 (diff)
Camera Tracking: allow fallback to reprojection resection by user demand
This fixes some "regressions" introduced in rev50781 which lead to much worse solution in some cases. Now it's possible to bring old behavior back. Perhaps it's more like temporal solution for time being smarter solution is found. But finding such a solution isn't so fast, so let's bring manual control over reprojection usage. But anyway, imo it's now nice to have a structure which could be used to pass different settings to the solver.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index f7b9f59b066..cb88226b55a 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -320,6 +320,13 @@ class CLIP_PT_tools_solve(CLIP_PT_tracking_panel, Panel):
col.label(text="Refine:")
col.prop(settings, "refine_intrinsics", text="")
+ col = layout.column(align=True)
+ col.active = not settings.use_tripod_solver
+ col.prop(settings, "use_fallback_reconstruction", text="Allow Fallback")
+ sub = col.column()
+ sub.active = settings.use_fallback_reconstruction
+ sub.prop(settings, "reconstruction_success_threshold")
+
class CLIP_PT_tools_cleanup(CLIP_PT_tracking_panel, Panel):
bl_space_type = 'CLIP_EDITOR'