mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-30 16:42:43 +00:00
1st attempt of perl callback from c++ for 3DScene
This commit is contained in:
@@ -926,13 +926,15 @@ sub zoom_to_bed {
|
||||
}
|
||||
}
|
||||
|
||||
sub zoom_to_volume {
|
||||
my ($self, $volume_idx) = @_;
|
||||
|
||||
my $volume = $self->volumes->[$volume_idx];
|
||||
my $bb = $volume->transformed_bounding_box;
|
||||
$self->zoom_to_bounding_box($bb);
|
||||
}
|
||||
#==============================================================================================================================
|
||||
#sub zoom_to_volume {
|
||||
# my ($self, $volume_idx) = @_;
|
||||
#
|
||||
# my $volume = $self->volumes->[$volume_idx];
|
||||
# my $bb = $volume->transformed_bounding_box;
|
||||
# $self->zoom_to_bounding_box($bb);
|
||||
#}
|
||||
#==============================================================================================================================
|
||||
|
||||
sub zoom_to_volumes {
|
||||
my ($self) = @_;
|
||||
|
||||
Reference in New Issue
Block a user