diff --git a/cameo/fped2stl.pl b/cameo/fped2stl.pl index 109b50c..79940b9 100755 --- a/cameo/fped2stl.pl +++ b/cameo/fped2stl.pl @@ -51,8 +51,7 @@ print STDERR "$name $z ...\n"; while () { s/cameo/$name/; - s/(vertex.*)0\.0*e\+00$/$1$z/; - s/(vertex.*)1\.0*e\+00$/$1$z1/; + s/(vertex.*)0\.0*e\+00$/$1$z/ || s/(vertex.*)1\.0*e\+00$/$1$z1/; print; } close RR;