diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-18 02:47:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-18 02:47:11 +0300 |
commit | 398935163264df0f9937230d06184712f4a367b8 (patch) | |
tree | 5337fed0b114d1223d2431f45b6b38fd52fdc3eb | |
parent | 44fdde569551679a4568f5c6005e9c70f5d98816 (diff) |
fix [#25694] Center View (Home Key)
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 4eeacd6f05f..ab41ecb18c4 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -1364,7 +1364,7 @@ static int view3d_all_exec(bContext *C, wmOperator *op) /* was view3d_home() in } for(base= scene->base.first; base; base= base->next) { - if(base->lay & v3d->lay) { + if(BASE_VISIBLE(v3d, base)) { onedone= 1; minmax_object(base->object, min, max); } |