Fix T52959: Local view looses clip range on exit

This commit is contained in:
Campbell Barton 2017-10-18 01:40:01 +11:00
parent 0a435d49ba
commit 7d3723a54d
Notes: blender-bot 2023-02-14 06:30:10 +01:00
Referenced by issue #53683, 2.79a release
Referenced by issue #52959, View - Clip values are reseting when switch in Object Local View
1 changed files with 0 additions and 2 deletions

View File

@ -1520,8 +1520,6 @@ static void restore_localviewdata(wmWindowManager *wm, wmWindow *win, Main *bmai
camera_old = v3d->camera;
camera_new = v3d->localvd->camera;
v3d->near = v3d->localvd->near;
v3d->far = v3d->localvd->far;
v3d->lay = v3d->localvd->lay;
v3d->layact = v3d->localvd->layact;
v3d->drawtype = v3d->localvd->drawtype;