On Oct 18, 2009, at 12:54 PM, Ed Swartz wrote: > I was trying to code a definition observer for this case, but it > doesn't > work as expected. refresh-program says that <program-instance>, et > al., > keep track of existing instances of a program, but when I have shaders > defined in Factor source, refresh-all generates new instances of the > shaders and programs anyway. So I can't really refresh the extant > copies > referenced in my scene. > > The same goes when I have a shader defined in a file... by the time I > refresh-all, the GLSL-PROGRAM instances are new. (And it's harder to > develop this way, since I'd have to hook up monitors to detect > that the shader files got changed, or touch some vocabulary to trigger > the definitions-changed listener.)
This is a bug. I'll fix it. -Joe ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
