Fixed minor fatal error

This commit is contained in:
Alessandro Ranellucci 2014-03-22 17:44:42 +01:00
parent f71ac8cd65
commit 6a157c22c2

View file

@ -345,7 +345,7 @@ sub _slice_region {
$mesh = $volume->mesh->clone;
}
}
next if !defined $mesh;
return if !defined $mesh;
# transform mesh
# we ignore the per-instance transformations currently and only