forked from bartvdbraak/blender
Fix T46403: motion tracking not workig with Xcode 7 on OS X.
Caused by use of the uninitialized shape_ variable in Resize().
This commit is contained in:
parent
db3dfb76a8
commit
64e4f9967f
3
extern/libmv/libmv/image/array_nd.h
vendored
3
extern/libmv/libmv/image/array_nd.h
vendored
@ -61,7 +61,8 @@ class ArrayND : public BaseArray {
|
||||
Resize(s0, s1, s2);
|
||||
}
|
||||
|
||||
ArrayND(T* data, int s0, int s1, int s2) : data_(data), own_data_(false) {
|
||||
ArrayND(T* data, int s0, int s1, int s2)
|
||||
: shape_(0), strides_(0), data_(data), own_data_(false) {
|
||||
Resize(s0, s1, s2);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user