adding width as optional for Spheres
This commit is contained in:
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"; }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user