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
Notes:
blender-bot
2023-02-14 09:19:09 +01:00
Referenced by issue #46443, Glass/Refraction BSDF sampling broken in most recent Cycles builds Referenced by issue #46403, Motion tracking on Blender 2.76 rc3 on mac osx
|
@ -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