Releasing 0.7.2
This commit is contained in:
parent
285caffa9c
commit
07edf83990
7 changed files with 4 additions and 3 deletions
|
@ -7,7 +7,7 @@ use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
require v5.10;
|
require v5.10;
|
||||||
|
|
||||||
our $VERSION = "0.7.2-dev";
|
our $VERSION = "0.7.2";
|
||||||
|
|
||||||
our $debug = 0;
|
our $debug = 0;
|
||||||
sub debugf {
|
sub debugf {
|
||||||
|
|
|
@ -18,7 +18,7 @@ sub OnInit {
|
||||||
|
|
||||||
my $frame = Wx::Frame->new( undef, -1, 'Slic3r', [-1, -1], Wx::wxDefaultSize,
|
my $frame = Wx::Frame->new( undef, -1, 'Slic3r', [-1, -1], Wx::wxDefaultSize,
|
||||||
wxDEFAULT_FRAME_STYLE ^ (wxRESIZE_BORDER | wxMAXIMIZE_BOX) );
|
wxDEFAULT_FRAME_STYLE ^ (wxRESIZE_BORDER | wxMAXIMIZE_BOX) );
|
||||||
#$frame->SetIcon(Wx::Icon->new("$FindBin::Bin/var/icon.png", &Wx::wxBITMAP_TYPE_ANY) );
|
#$frame->SetIcon(Wx::Icon->new("$FindBin::Bin/var/Slic3r.png", &Wx::wxBITMAP_TYPE_ANY) );
|
||||||
|
|
||||||
my $panel = Slic3r::GUI::SkeinPanel->new($frame);
|
my $panel = Slic3r::GUI::SkeinPanel->new($frame);
|
||||||
my $box = Wx::BoxSizer->new(wxVERTICAL);
|
my $box = Wx::BoxSizer->new(wxVERTICAL);
|
||||||
|
|
|
@ -113,6 +113,7 @@ sub update_duplicate_controls {
|
||||||
$_->Enable($value ne 'no') for @{$fields{duplicate_distance}};
|
$_->Enable($value ne 'no') for @{$fields{duplicate_distance}};
|
||||||
Slic3r::Config->set('duplicate', 1) if $value ne 'autoarrange';
|
Slic3r::Config->set('duplicate', 1) if $value ne 'autoarrange';
|
||||||
Slic3r::Config->set('duplicate_grid', [1,1]) if $value ne 'grid';
|
Slic3r::Config->set('duplicate_grid', [1,1]) if $value ne 'grid';
|
||||||
|
$fields{duplicate}[0]->GetParent->Refresh;
|
||||||
$_->() for @reload_callbacks; # apply new values
|
$_->() for @reload_callbacks; # apply new values
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ sub new {
|
||||||
if (eval "use Growl::GNTP; 1") {
|
if (eval "use Growl::GNTP; 1") {
|
||||||
# register growl notifications
|
# register growl notifications
|
||||||
eval {
|
eval {
|
||||||
$self->{growler} = Growl::GNTP->new(AppName => 'Slic3r', AppIcon => "$FindBin::Bin/var/icon.png");
|
$self->{growler} = Growl::GNTP->new(AppName => 'Slic3r', AppIcon => "$FindBin::Bin/var/Slic3r.png");
|
||||||
$self->{growler}->register([{Name => 'SKEIN_DONE', DisplayName => 'Slicing Done'}]);
|
$self->{growler}->register([{Name => 'SKEIN_DONE', DisplayName => 'Slicing Done'}]);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
BIN
var/Slic3r.icns
Normal file
BIN
var/Slic3r.icns
Normal file
Binary file not shown.
BIN
var/Slic3r.ico
Normal file
BIN
var/Slic3r.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 345 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Loading…
Reference in a new issue