Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

CircularAvatars requires exact pixel size #4

Open
schwern opened this Issue · 2 comments

2 participants

Michael G. Schwern Rob
Michael G. Schwern

Using CircularAvatars and a 1x1 black default.png (to make it effectively invisible) I got:

Exception in thread "Animation Thread" java.lang.RuntimeException: The PImage used with mask() must be the same size as the applet.
at processing.core.PImage.mask(PImage.java:599)
at processing.core.PImage.mask(PImage.java:614)
at code_swarm$PersonNode.(code_swarm.java:1503)
at code_swarm.update(code_swarm.java:740)
at code_swarm.draw(code_swarm.java:382)
at processing.core.PApplet.handleDraw(PApplet.java:1395)
at processing.core.PApplet.run(PApplet.java:1300)
at java.lang.Thread.run(Thread.java:637)

It would be nice if CircularAvatars did not restrict the avatar size.

Rob
dwo commented

Do you know what the exact pixel size is? I get this when I set the config to LocalAvatars, even if I only leave the provided default.png in there.

Michael G. Schwern

It's been so long, I don't remember any details. Sorry.

holzman holzman referenced this issue from a commit in holzman/code_swarm
holzman holzman Fix Issue #4 - Circular Avatar not working with LocalAvatar 6ee8f9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.