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

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

No files matched your search

+1 -1
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;