summaryrefslogtreecommitdiff
path: root/src/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.cpp')
-rw-r--r--src/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.cpp b/src/state.cpp
index 80cfc59..b7ac67a 100644
--- a/src/state.cpp
+++ b/src/state.cpp
@@ -1104,7 +1104,7 @@ State::featuresAsMeasurements ( vector<measurement_t> &yk, const Camera &cam,
z.id = (*i)->id();
z.source = (*i)->p2x(pbs);
z.reflection = (*i)->p2x(pbr);
- z.z_type = BOTH;
+ z.z_type = (domono) ? MONO : BOTH;
z.patch = (*i)->warpedPatch(cam, q);
z.refpatch = (*i)->reflectedPatch(cam, q);