mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 15:51:10 -06:00
Renamed PreviewCanvas to 3DScene
This commit is contained in:
parent
0a62d658d9
commit
fb08588007
7 changed files with 11 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue