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:
authorCampbell Barton <ideasman42@gmail.com>2021-02-14 03:20:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-14 03:20:29 +0300
commit90c23078260bb66d0d2e27bb58852fe833ab2714 (patch)
tree8deab70b759b568e553035b94d48bdd37847f25a /source/blender/editors
parent3c1e70dedfc649180460ac869def657226c61653 (diff)
Cleanup: remove commented logic for Alt-Pad0 to use previous camera
While this could be useful, it's been removed since 2.4x, keeping this here doesn't help add it back since it would need to be re-implemented.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 2f8cd5a7517..5c2969f47d7 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -4105,8 +4105,6 @@ static int view_camera_exec(bContext *C, wmOperator *op)
ED_view3d_smooth_view_force_finish(C, v3d, region);
if ((RV3D_LOCK_FLAGS(rv3d) & RV3D_LOCK_ANY_TRANSFORM) == 0) {
- /* lastview - */
-
ViewLayer *view_layer = CTX_data_view_layer(C);
Scene *scene = CTX_data_scene(C);
@@ -4120,15 +4118,6 @@ static int view_camera_exec(bContext *C, wmOperator *op)
ED_view3d_lastview_store(rv3d);
}
-#if 0
- if (G.qual == LR_ALTKEY) {
- if (oldcamera && is_an_active_object(oldcamera)) {
- v3d->camera = oldcamera;
- }
- handle_view3d_lock();
- }
-#endif
-
/* first get the default camera for the view lock type */
if (v3d->scenelock) {
/* sets the camera view if available */