Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElia Sarti <vekoon@gmail.com>2009-08-15 18:37:40 +0400
committerElia Sarti <vekoon@gmail.com>2009-08-15 18:37:40 +0400
commitde330b0d5c341a86ad3413c420edd2702288d1e0 (patch)
tree37206c83776a4e147d4d0945af804b0b87bf74f7
parentefc4624e8a7f649b3eec37319fbb1dbfc719e144 (diff)
Fix for View All operator in 3dview, was not working because of missing code.
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index acb3a2257dc..1006091c093 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -904,6 +904,9 @@ static int viewhome_exec(bContext *C, wmOperator *op) /* was view3d_home() in 2.
rv3d->persp= V3D_PERSP;
smooth_view(C, NULL, v3d->camera, new_ofs, NULL, &new_dist, NULL);
}
+ else {
+ smooth_view(C, NULL, NULL, new_ofs, NULL, &new_dist, NULL);
+ }
}
// XXX BIF_view3d_previewrender_signal(curarea, PR_DBASE|PR_DISPRECT);