correct error in libmv stub, also correct typo.

This commit is contained in:
Campbell Barton 2013-09-13 03:49:11 +00:00
parent cca746c8e6
commit 29cbf93b07
2 changed files with 2 additions and 2 deletions

@ -280,7 +280,7 @@ void libmv_cameraIntrinsicsInvert(const libmv_CameraIntrinsicsOptions *libmv_cam
void libmv_homography2DFromCorrespondencesLinear(double (* /* x1 */)[2], double (* /* x2 */)[2], int /* num_points */, void libmv_homography2DFromCorrespondencesLinear(double (* /* x1 */)[2], double (* /* x2 */)[2], int /* num_points */,
double H[3][3], double /* expected_precision */) 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[0][0] = 1.0f;
H[1][1] = 1.0f; H[1][1] = 1.0f;
H[2][2] = 1.0f; H[2][2] = 1.0f;

@ -5171,7 +5171,7 @@ char *RNA_property_as_string(bContext *C, PointerRNA *ptr, PropertyRNA *prop, in
char *cstring; char *cstring;
/* see if we can coorce into a python type - PropertyType */ /* see if we can coerce into a python type - PropertyType */
switch (type) { switch (type) {
case PROP_BOOLEAN: case PROP_BOOLEAN:
if (len == 0) { if (len == 0) {