* Compile fix, so disabling libmw works again.
authorThomas Dinges <blender@dingto.org>
Fri, 16 Aug 2013 12:43:37 +0000 (12:43 +0000)
committerThomas Dinges <blender@dingto.org>
Fri, 16 Aug 2013 12:43:37 +0000 (12:43 +0000)
extern/libmv/libmv-capi_stub.cc

index 07125b80f0419d6e2f21f81690cd7132613cf9d4..59a3fe89398029354da9fad22471222219ad3ae2 100644 (file)
@@ -281,9 +281,9 @@ void libmv_homography2DFromCorrespondencesLinear(double (* /* x1 */)[2], double
                                                  double H[3][3], double /* expected_precision */)
 {
        memset(H, 0, sizeof(H));
-       N[0][0] = 1.0f;
-       N[1][1] = 1.0f;
-       N[02[2] = 1.0f;
+       H[0][0] = 1.0f;
+       H[1][1] = 1.0f;
+       H[2][2] = 1.0f;
 }
 
 #endif  // ifndef WITH_LIBMV