diff options
-rw-r--r-- | src/Float32Data2D.cpp | 3 | ||||
-rw-r--r-- | src/Float32Data3DMemory.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/Float32Data2D.cpp b/src/Float32Data2D.cpp index 151f58d..e2d7ef3 100644 --- a/src/Float32Data2D.cpp +++ b/src/Float32Data2D.cpp @@ -162,6 +162,7 @@ bool CFloat32Data2D::_initialize(int _iWidth, int _iHeight) // allocate memory for the data, but do not fill it m_pfData = 0; m_ppfData2D = 0; + m_pCustomMemory = 0; _allocateData(); // set minmax to default values @@ -196,6 +197,7 @@ bool CFloat32Data2D::_initialize(int _iWidth, int _iHeight, const float32 *_pfDa // allocate memory for the data m_pfData = 0; m_ppfData2D = 0; + m_pCustomMemory = 0; _allocateData(); // fill the data block with a copy of the input data @@ -228,6 +230,7 @@ bool CFloat32Data2D::_initialize(int _iWidth, int _iHeight, float32 _fScalar) // allocate memory for the data m_pfData = 0; m_ppfData2D = 0; + m_pCustomMemory = 0; _allocateData(); // fill the data block with a copy of the input data diff --git a/src/Float32Data3DMemory.cpp b/src/Float32Data3DMemory.cpp index 4522864..7b79d03 100644 --- a/src/Float32Data3DMemory.cpp +++ b/src/Float32Data3DMemory.cpp @@ -73,6 +73,7 @@ bool CFloat32Data3DMemory::_initialize(int _iWidth, int _iHeight, int _iDepth) m_pfData = NULL; m_ppfDataRowInd = NULL; m_pppfDataSliceInd = NULL; + m_pCustomMemory = 0; _allocateData(); // set minmax to default values @@ -108,6 +109,7 @@ bool CFloat32Data3DMemory::_initialize(int _iWidth, int _iHeight, int _iDepth, c m_pfData = NULL; m_ppfDataRowInd = NULL; m_pppfDataSliceInd = NULL; + m_pCustomMemory = 0; _allocateData(); // fill the data block with a copy of the input data @@ -144,6 +146,7 @@ bool CFloat32Data3DMemory::_initialize(int _iWidth, int _iHeight, int _iDepth, f m_pfData = NULL; m_ppfDataRowInd = NULL; m_pppfDataSliceInd = NULL; + m_pCustomMemory = 0; _allocateData(); // fill the data block with a copy of the input data |