Bugfix: skirt and brim were not recalculated when objects where just moved in plater

This commit is contained in:
Alessandro Ranellucci 2014-11-12 23:28:42 +01:00
parent a5787cfb04
commit 334086d605
7 changed files with 37 additions and 27 deletions

View file

@ -209,7 +209,7 @@ sub mouse_event {
}
$self->Refresh;
} elsif ($event->ButtonUp(&Wx::wxMOUSE_BTN_LEFT)) {
$self->{on_instance_moved}->();
$self->{on_instance_moved}->(@{ $self->{drag_object} });
$self->Refresh;
$self->{drag_start_pos} = undef;
$self->{drag_object} = undef;