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
path: root/utils
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-01-09 03:30:04 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-01-09 03:30:04 +0300
commitfb08588007111634586a82d629043dc5d4d82f8e (patch)
tree92fec38e7e939fd5788d22dc7abadbc281b53601 /utils
parent0a62d658d9a18236be782e84dbc89b1808df436a (diff)
Renamed PreviewCanvas to 3DScene
Diffstat (limited to 'utils')
-rw-r--r--utils/view-mesh.pl4
-rwxr-xr-xutils/view-toolpaths.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/utils/view-mesh.pl b/utils/view-mesh.pl
index 25fbf3638..67fb15a12 100644
--- a/utils/view-mesh.pl
+++ b/utils/view-mesh.pl
@@ -12,7 +12,7 @@ BEGIN {
use Getopt::Long qw(:config no_auto_abbrev);
use Slic3r;
use Slic3r::GUI;
-use Slic3r::GUI::PreviewCanvas;
+use Slic3r::GUI::3DScene;
$|++;
my %opt = ();
@@ -66,7 +66,7 @@ sub OnInit {
my $frame = Wx::Frame->new(undef, -1, 'Mesh Viewer', [-1, -1], [500, 400]);
my $panel = Wx::Panel->new($frame, -1);
- $self->{canvas} = Slic3r::GUI::PreviewCanvas->new($panel);
+ $self->{canvas} = Slic3r::GUI::3DScene->new($panel);
my $sizer = Wx::BoxSizer->new(wxVERTICAL);
$sizer->Add($self->{canvas}, 1, wxEXPAND, 0);
diff --git a/utils/view-toolpaths.pl b/utils/view-toolpaths.pl
index 847ba61d9..14ff44227 100755
--- a/utils/view-toolpaths.pl
+++ b/utils/view-toolpaths.pl
@@ -12,7 +12,7 @@ BEGIN {
use Getopt::Long qw(:config no_auto_abbrev);
use Slic3r;
use Slic3r::GUI;
-use Slic3r::GUI::PreviewCanvas;
+use Slic3r::GUI::3DScene;
$|++;
my %opt = ();
@@ -82,7 +82,7 @@ sub OnInit {
my $canvas;
if ($d3) {
- $canvas = Slic3r::GUI::PreviewCanvas->new($panel);
+ $canvas = Slic3r::GUI::3DScene->new($panel);
$canvas->print($print);
$canvas->set_bed_shape($print->config->bed_shape);