Fix little error in tests

This commit is contained in:
Alessandro Ranellucci 2013-06-15 17:17:48 +02:00
parent 7bf308c08f
commit 8b6afb61d9

View file

@ -34,7 +34,7 @@ sub model {
$object->add_volume(facets => $facets); $object->add_volume(facets => $facets);
$object->add_instance( $object->add_instance(
offset => [0,0], offset => [0,0],
rotation => $params{rotation}, rotation => $params{rotation} // 0,
); );
return $model; return $model;
} }