forked from bartvdbraak/blender
Revert 56319, misunderstood API
This was completely skipping BA step when point goes behind the camera.
This commit is contained in:
parent
2e89f6350d
commit
d2f61b36f9
4
extern/libmv/libmv/simple_pipeline/bundle.cc
vendored
4
extern/libmv/libmv/simple_pipeline/bundle.cc
vendored
@ -83,10 +83,6 @@ struct OpenCVReprojectionError {
|
||||
x[1] += R_t[4];
|
||||
x[2] += R_t[5];
|
||||
|
||||
// Prevent bundles from being moved behind the camera.
|
||||
if (x[2] < T(0))
|
||||
return false;
|
||||
|
||||
// Compute normalized coordinates: x /= x[2].
|
||||
T xn = x[0] / x[2];
|
||||
T yn = x[1] / x[2];
|
||||
|
Loading…
Reference in New Issue
Block a user