diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-12-15 19:10:10 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-12-15 19:10:10 +0300 |
commit | c73378744f0d6e8c4a07952d9228069f35fcb56e (patch) | |
tree | c2d9b423dc9635731eea47ffb0e15f68ef08b1b6 /lib/Slic3r/GUI/Plater/2D.pm | |
parent | 21364b7cd10fa503bde4b53c53f97c2e76b75203 (diff) |
Prevent flickering
Diffstat (limited to 'lib/Slic3r/GUI/Plater/2D.pm')
-rw-r--r-- | lib/Slic3r/GUI/Plater/2D.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater/2D.pm b/lib/Slic3r/GUI/Plater/2D.pm index 788892050..b3b1cc11d 100644 --- a/lib/Slic3r/GUI/Plater/2D.pm +++ b/lib/Slic3r/GUI/Plater/2D.pm @@ -71,7 +71,7 @@ sub on_instances_moved { sub repaint { my ($self, $event) = @_; - my $dc = Wx::PaintDC->new($self); + my $dc = Wx::AutoBufferedPaintDC->new($self); my $size = $self->GetSize; my @size = ($size->GetWidth, $size->GetHeight); |