mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Refactoring and cleanup
This commit is contained in:
parent
2bccb43122
commit
364134515b
9 changed files with 371 additions and 2101 deletions
|
@ -34,7 +34,7 @@ use Slic3r::Geometry qw(PI);
|
|||
# volumes: reference to vector of Slic3r::GUI::3DScene::Volume.
|
||||
# _camera_type: 'perspective' or 'ortho'
|
||||
#==============================================================================================================================
|
||||
__PACKAGE__->mk_accessors( qw(_quat init
|
||||
__PACKAGE__->mk_accessors( qw(init
|
||||
on_viewport_changed
|
||||
on_select
|
||||
volumes
|
||||
|
@ -83,7 +83,7 @@ __PACKAGE__->mk_accessors( qw(_quat init
|
|||
#
|
||||
# ) );
|
||||
#==============================================================================================================================
|
||||
|
||||
|
||||
use constant TRACKBALLSIZE => 0.8;
|
||||
use constant TURNTABLE_MODE => 1;
|
||||
#==============================================================================================================================
|
||||
|
@ -160,9 +160,7 @@ sub new {
|
|||
#
|
||||
# $self->{can_multisample} = $can_multisample;
|
||||
# $self->background(1);
|
||||
#==============================================================================================================================
|
||||
$self->_quat((0, 0, 0, 1));
|
||||
#==============================================================================================================================
|
||||
# $self->_quat((0, 0, 0, 1));
|
||||
# $self->_stheta(45);
|
||||
# $self->_sphi(45);
|
||||
# $self->_zoom(1);
|
||||
|
@ -268,7 +266,6 @@ sub new {
|
|||
sub Destroy {
|
||||
my ($self) = @_;
|
||||
#==============================================================================================================================
|
||||
Slic3r::GUI::_3DScene::stop_timer($self);
|
||||
# $self->{layer_height_edit_timer}->Stop;
|
||||
#==============================================================================================================================
|
||||
$self->DestroyGL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue