josephtaylor / sketch-mapper

A reimagining of SurfaceMapperGUI for Processing
http://josephtaylor.github.io/sketch-mapper
MIT License
35 stars 9 forks source link

sketch assignation does not work #20

Closed lucasmilin closed 6 years ago

lucasmilin commented 7 years ago

I am not able to assign a different sketch to all surfaces. Each time I select a surface, drop down display the first choice.

elo623lj commented 6 years ago

i have the exact same problem

josephtaylor commented 6 years ago

Looking into this. Seems to be that something has changed around MouseEvent handlers so that when you click on the menu to set the sketch, the surface becomes de-selected so you can never set the sketch on it. Trying to figure out how I can determine that a click is happening inside one of the menu elements and have that not affect which surfaces are selected.

weiweikee commented 6 years ago

Is this issue resolve? Does it still work with previous version of Processing and controlP5? If so, which version does it still work with?

josephtaylor commented 6 years ago

Still broken, I haven't had any time to dig into it. Last time I looked at it I was thinking about trying to move the controls into a separate ControlP5 Window, so that clicks on them won't affect the main surface.

You could try the following combo which should work: SketchMapper 3.0.2 Processing 2.X ControlP5 2.2.5

damianfallas commented 6 years ago

Im woking in a fix for this right now, using the separate ControlP5 windows approach. Right now is working at 80%. Just having some issues with controlP5.

https://github.com/damianfallas/sketch-mapper

josephtaylor commented 6 years ago

Big thanks to @damianfallas for a fix to this long-standing bug. Just released version 4.1.3. The website has been updated. Processing should scrape it soon and the version will be available via the library addons in the Processing IDE.