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>2014-12-13 22:41:03 +0300
committerAlessandro Ranellucci <aar@cpan.org>2014-12-13 22:41:03 +0300
commitd1f58cbed5d66d71d8de23f5efe959a594932ff8 (patch)
tree21381b6a2f0ab9ce740364cc46b77ded15eb571a /utils
parentb0aa1260e2396023c6039ceb2ff405ec4b9853ab (diff)
Objects can be selected in 3D preview now. Double click and right click work as well
Diffstat (limited to 'utils')
-rw-r--r--utils/view-mesh.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/view-mesh.pl b/utils/view-mesh.pl
index a696d7c85..61d6748f6 100644
--- a/utils/view-mesh.pl
+++ b/utils/view-mesh.pl
@@ -32,6 +32,7 @@ my %opt = ();
$model->add_default_instances;
my $app = Slic3r::ViewMesh->new;
+ $app->{canvas}->enable_picking(1);
$app->{canvas}->load_object($model->objects->[0]);
$app->{canvas}->set_bounding_box($model->objects->[0]->bounding_box);
$app->{canvas}->set_auto_bed_shape;