mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Re-fix bug #3319 with less side effects.
This commit is contained in:
parent
f02204847a
commit
ee97a5e757
@ -286,6 +286,7 @@ void Mat::copyTo( OutputArray _dst, InputArray _mask ) const
|
||||
|
||||
if( dims <= 2 )
|
||||
{
|
||||
CV_Assert( size() == mask.size() );
|
||||
Size sz = getContinuousSize(*this, dst, mask, mcn);
|
||||
copymask(data, step, mask.data, mask.step, dst.data, dst.step, sz, &esz);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user