mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Nicer 3D colors and lighting
This commit is contained in:
@@ -27,6 +27,9 @@ my %opt = ();
|
||||
{
|
||||
my $model = Slic3r::Model->read_from_file($ARGV[0]);
|
||||
|
||||
# make sure all objects have at least one defined instance
|
||||
$model->add_default_instances;
|
||||
|
||||
$Slic3r::ViewMesh::object = $model->objects->[0];
|
||||
my $app = Slic3r::ViewMesh->new;
|
||||
$app->MainLoop;
|
||||
|
||||
Reference in New Issue
Block a user