From 489059f82749ceaf9fd7e00eef4f4da69591ba9a Mon Sep 17 00:00:00 2001 From: Samir55 Date: Wed, 19 Apr 2017 18:40:32 +0200 Subject: [PATCH] Improving Zoom by Keyboard Shortcut removing unnecessary lines --- lib/Slic3r/GUI/Plater.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 89341498fd..c7ceb28997 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -2439,16 +2439,12 @@ sub zoom{ if($currentSelection == 0){ $self->{canvas3D}->zoom($direction) if($self->{canvas3D}); } -# elsif($currentSelection == 1) { #2D platter should zomobe applied here or not ? -# } elsif($currentSelection == 2){ #3d Preview tab $self->{preview3D}->canvas->zoom($direction) if($self->{preview3D}); } elsif($currentSelection == 3) { #2D toolpaths tab $self->{toolpaths2D}->{canvas}->zoom($direction) if($self->{toolpaths2D}); } - else {#Do Nothing - } } package Slic3r::GUI::Plater::DropTarget;