fix for view dolly not working with auto-depth & zoom to mouse location when no depth was found.

This commit is contained in:
Campbell Barton 2011-05-14 10:35:11 +00:00
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;
}
}