Cleanup: correct the vector copy size in ViewOpsData::state_backup

In practice this didn't cause problems as the correct value was
written afterwards.
This commit is contained in:
Campbell Barton
2024-03-28 13:01:41 +11:00
parent a2fa743364
commit d8c69c84e3

View File

@@ -89,7 +89,7 @@ void ViewOpsData::init_context(bContext *C)
void ViewOpsData::state_backup()
{
copy_v3_v3(this->init.ofs, rv3d->ofs);
copy_v3_v3(this->init.ofs_lock, rv3d->ofs_lock);
copy_v2_v2(this->init.ofs_lock, rv3d->ofs_lock);
this->init.camdx = rv3d->camdx;
this->init.camdy = rv3d->camdy;
this->init.camzoom = rv3d->camzoom;