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
path: root/extern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-03-01 12:20:13 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-03-01 12:20:13 +0400
commita2027237edc49d5b7926f5de6df855d163edcf8e (patch)
tree606ec946969309fd6bbe6f3ac37ab4402425e41a /extern
parent2de9ce794015181c7c6ff9fdaddc166b067399db (diff)
Pass data to modal reprojection cost functor by reference
Seems it solves alignment error reported by 32bit MSVC.
Diffstat (limited to 'extern')
-rw-r--r--extern/libmv/libmv/simple_pipeline/modal_solver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/libmv/libmv/simple_pipeline/modal_solver.cc b/extern/libmv/libmv/simple_pipeline/modal_solver.cc
index aa2fa9a8a9d..e14f1db272b 100644
--- a/extern/libmv/libmv/simple_pipeline/modal_solver.cc
+++ b/extern/libmv/libmv/simple_pipeline/modal_solver.cc
@@ -56,7 +56,7 @@ void ModalSolverLogProress(ProgressUpdateCallback *update_callback,
}
struct ModalReprojectionError {
- ModalReprojectionError(Vec2 marker, Vec3 bundle)
+ ModalReprojectionError(Vec2 &marker, Vec3 &bundle)
: marker(marker), bundle(bundle) { }
template <typename T>