Skip to content

Commit

Permalink
fix(IB): copy/paste error in the ImageBuf iterator copy constructor (#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
antond-weta authored and lgritz committed Aug 1, 2024
1 parent fe5e75d commit 7049aad
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 @@ -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;
}

Expand Down

0 comments on commit 7049aad

Please sign in to comment.