Don't draw shape parts at 0 rad/stroke

This commit is contained in:
Anuken
2022-07-05 20:15:34 -04:00
parent 85321d7465
commit 69a26900fe
4 changed files with 9 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ public class ShapePart extends DrawPart{
}else{
Fill.circle(rx, ry, rad);
}
}else{
}else if(str > 0.0001f){
Lines.stroke(str);
if(!circle){
Lines.poly(rx, ry, sides, rad, moveRot * prog * sign + params.rotation - 90 * sign + rotation * sign + baseRot * sign);