diff --git a/lib/Slic3r/GUI/PreviewCanvas.pm b/lib/Slic3r/GUI/PreviewCanvas.pm index f70a0bba66..dd3af6982b 100644 --- a/lib/Slic3r/GUI/PreviewCanvas.pm +++ b/lib/Slic3r/GUI/PreviewCanvas.pm @@ -28,9 +28,6 @@ sub new { $self->norms(OpenGL::Array->new_list(GL_FLOAT, @norms)); } - my $timer = $self->timer( Wx::Timer->new($self) ); - $timer->Start(50); - $self->x_rot(0); $self->y_rot(0); @@ -45,15 +42,6 @@ sub new { $self->Resize( $self->GetSizeWH ); $self->Refresh; }); - EVT_TIMER($self, -1, sub { - my ($self, $e) = @_; - - $self->x_rot( $self->x_rot - 1 ); - $self->y_rot( $self->y_rot + 2 ); - - $self->dirty(1); - Wx::WakeUpIdle; - }); EVT_MOUSEWHEEL($self, sub { my ($self, $e) = @_;