correct error in libmv stub, also correct typo.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 13 Sep 2013 03:49:11 +0000 (03:49 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 13 Sep 2013 03:49:11 +0000 (03:49 +0000)
extern/libmv/libmv-capi_stub.cc
source/blender/makesrna/intern/rna_access.c

index 59a3fe89398029354da9fad22471222219ad3ae2..4896f4c69499548bf6d7d561647eba09f8a0d1f7 100644 (file)
@@ -280,7 +280,7 @@ void libmv_cameraIntrinsicsInvert(const libmv_CameraIntrinsicsOptions *libmv_cam
 void libmv_homography2DFromCorrespondencesLinear(double (* /* x1 */)[2], double (* /* x2 */)[2], int /* num_points */,
                                                  double H[3][3], double /* expected_precision */)
 {
-       memset(H, 0, sizeof(H));
+       memset(H, 0, sizeof(double[3][3]));
        H[0][0] = 1.0f;
        H[1][1] = 1.0f;
        H[2][2] = 1.0f;
index 11323779b85e388d5fa3beda0de4775eb31e0375..4cdb3b4ca7e277e69ec761e0b55a62bd6e7379ef 100644 (file)
@@ -5171,7 +5171,7 @@ char *RNA_property_as_string(bContext *C, PointerRNA *ptr, PropertyRNA *prop, in
        char *cstring;
        
 
-       /* see if we can coorce into a python type - PropertyType */
+       /* see if we can coerce into a python type - PropertyType */
        switch (type) {
                case PROP_BOOLEAN:
                        if (len == 0) {