adding width as optional for Spheres

This commit is contained in:
gnembon committed 2020-06-04 13:27:58 -03:00
1 parent 1c3d017e01
commit 8b2e703128
1 file changed
+1 -1
@@ -677,7 +677,7 @@ public class ShapeDispatcher
public static class WidthParam extends PositiveFloatParam
{
@Override
public boolean appliesTo(ExpiringShape shape) { return shape instanceof Box || shape instanceof Line; }
public boolean appliesTo(ExpiringShape shape) { return shape instanceof Box || shape instanceof Line || shape instanceof Sphere; }
@Override
public String identify() { return "width"; }
}