Skip to content

PThreading v1.1.0

Latest
Compare
Choose a tag to compare
@micycle1 micycle1 released this 18 Oct 18:04
· 2 commits to master since this release

PThreading v1.1.0

What's New

  • Add setup() method to PThread.class (an optional override to use for setting PGraphics settings like colorMode())

Improvements

  • Resize threads' PGraphics to match the size of the sketch when it is resized (still a bit unstable)
  • Remove org.apache.commons.lang3.ClassUtils dependency (bundle relevant methods in PThreadManager.class instead)
  • Change HashMaps to LinkedHashMaps (to enforce iteration order)

Bug Fixes

  • Add timing delay to unlinkComputeDraw() (so calling in setup() doesn't leave phantom thread drawing)
  • Fix methods that add threads using their class when PThreading is used in the PDE (the PDE changes constructor signatures so PThreadManager could not find them previously)