Skip to content

Commit

Permalink
fix(IB): copy/paste error in the ImageBuf iterator copy constructor (A…
Browse files Browse the repository at this point in the history
…cademySoftwareFoundation#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 <antond@wetafx.co.nz>
  • Loading branch information
antond-weta authored Aug 1, 2024
1 parent a2f044a commit 8a09888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libOpenImageIO/imagebuf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3129,7 +3129,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;
}

Expand Down

0 comments on commit 8a09888

Please sign in to comment.