diff --git a/src/libOpenImageIO/imagebuf.cpp b/src/libOpenImageIO/imagebuf.cpp index 12c85bdd70..51d874528b 100644 --- a/src/libOpenImageIO/imagebuf.cpp +++ b/src/libOpenImageIO/imagebuf.cpp @@ -3167,7 +3167,7 @@ ImageBuf::IteratorBase::operator=(const IteratorBase& i) m_rng_zend = i.m_rng_zend; m_x = i.m_x; m_y = i.m_y; - m_y = i.m_y; + m_z = i.m_z; return *this; }