fix for view dolly not working with auto-depth & zoom to mouse location when no depth was found.
This commit is contained in:
parent
99113b8541
commit
28608b9281
@ -391,8 +391,6 @@ static void viewops_data_create(bContext *C, wmOperator *op, wmEvent *event)
|
||||
}
|
||||
negate_v3(vod->dyn_ofs);
|
||||
copy_v3_v3(vod->ofs, rv3d->ofs);
|
||||
} else {
|
||||
vod->ofs[0] = vod->ofs[1] = vod->ofs[2] = 0.0f;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user