mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
3DScene member variables moved to c++
This commit is contained in:
parent
2dee4d1a83
commit
e79037c44d
10 changed files with 104 additions and 16 deletions
|
@ -2150,19 +2150,23 @@ use List::Util qw(first min max);
|
|||
use Slic3r::Geometry qw(scale unscale epsilon);
|
||||
use Slic3r::Print::State ':steps';
|
||||
|
||||
__PACKAGE__->mk_accessors(qw(
|
||||
color_by
|
||||
select_by
|
||||
drag_by
|
||||
));
|
||||
#===================================================================================================================================
|
||||
#__PACKAGE__->mk_accessors(qw(
|
||||
# color_by
|
||||
# select_by
|
||||
# drag_by
|
||||
#));
|
||||
#===================================================================================================================================
|
||||
|
||||
sub new {
|
||||
my $class = shift;
|
||||
|
||||
my $self = $class->SUPER::new(@_);
|
||||
$self->color_by('volume'); # object | volume
|
||||
$self->select_by('object'); # object | volume | instance
|
||||
$self->drag_by('instance'); # object | instance
|
||||
#===================================================================================================================================
|
||||
# $self->color_by('volume'); # object | volume
|
||||
# $self->select_by('object'); # object | volume | instance
|
||||
# $self->drag_by('instance'); # object | instance
|
||||
#===================================================================================================================================
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue