fix for view dolly not working with auto-depth & zoom to mouse location when no depth...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 14 May 2011 10:35:11 +0000 (10:35 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 14 May 2011 10:35:11 +0000 (10:35 +0000)
source/blender/editors/space_view3d/view3d_edit.c

index fcc9c512c317b62b6670461287d097ab390167b5..10dde714b9f681f2c222a58791abd451cedb4cf7 100644 (file)
@@ -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;
                }
        }