Skip to content

Commit 7049aad

Browse files
antond-wetalgritz
authored andcommitted
fix(IB): copy/paste error in the ImageBuf iterator copy constructor (#4365)
Fixes a simple copy/paste error in a copy constructor where the y coordinate gets initialised twice instead of y and z. Signed-off-by: Anton Dukhovnikov <[email protected]>
1 parent fe5e75d commit 7049aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libOpenImageIO/imagebuf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3167,7 +3167,7 @@ ImageBuf::IteratorBase::operator=(const IteratorBase& i)
31673167
m_rng_zend = i.m_rng_zend;
31683168
m_x = i.m_x;
31693169
m_y = i.m_y;
3170-
m_y = i.m_y;
3170+
m_z = i.m_z;
31713171
return *this;
31723172
}
31733173

0 commit comments

Comments
 (0)