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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-12-15 19:10:10 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-12-15 19:10:10 +0300
commitc73378744f0d6e8c4a07952d9228069f35fcb56e (patch)
treec2d9b423dc9635731eea47ffb0e15f68ef08b1b6 /lib/Slic3r/GUI/Plater/2D.pm
parent21364b7cd10fa503bde4b53c53f97c2e76b75203 (diff)
Prevent flickering
Diffstat (limited to 'lib/Slic3r/GUI/Plater/2D.pm')
-rw-r--r--lib/Slic3r/GUI/Plater/2D.pm2
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);