Try to fix crash upon quick slice. #2801

This commit is contained in:
Alessandro Ranellucci 2015-05-06 00:39:16 +02:00
parent d998d97754
commit 1dc63071ed
2 changed files with 12 additions and 5 deletions

View file

@ -683,6 +683,7 @@ sub rotate {
my $self = shift;
my ($angle, $axis) = @_;
# angle is in degrees
$axis //= Z;
my ($obj_idx, $object) = $self->selected_object;