forked from bartvdbraak/blender
correct error in libmv stub, also correct typo.
This commit is contained in:
parent
cca746c8e6
commit
29cbf93b07
2
extern/libmv/libmv-capi_stub.cc
vendored
2
extern/libmv/libmv-capi_stub.cc
vendored
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user