hello,
there is a small bug with pix_snap2tex when destroying the Gem window see the attached patch.
i noticed it with linux and windows (not tested on osX), with 0.90 and curent cvs. (any pd version)
Cyrille
#N canvas 887 307 763 565 10; #X msg 36 243 snap; #X obj 36 371 square 5; #X obj 36 221 t b; #X obj 124 200 gemhead -5; #X obj 36 303 color 0.8 0.8 0.8; #X obj 36 200 gemhead -15; #X obj 141 126 gemhead; #X obj 41 154 gemwin; #X msg 41 33 dimen 400 300 , create , 1; #X obj 141 154 sphere; #X obj 36 349 translateXYZ 0.2 0 0; #X obj 36 326 scaleXYZ 1.5 1.1 1; #X msg 62 71 destroy , create , 1; #X msg 199 253 400 300; #X text 225 34 <- 1 : create the window : everything work as expected ; #X text 228 279 <- 3 : ctrl-X , ctrl-Z the pix_object : everything work again; #X obj 36 278 pix_snap2tex 0 0 400 300; #X text 225 75 <- 2 : destroy / create the window : pix_snapt2tex captur only empty (white) window; #X connect 0 0 16 0; #X connect 2 0 0 0; #X connect 3 0 16 0; #X connect 4 0 11 0; #X connect 5 0 2 0; #X connect 6 0 9 0; #X connect 8 0 7 0; #X connect 10 0 1 0; #X connect 11 0 10 0; #X connect 12 0 7 0; #X connect 13 0 16 2; #X connect 16 0 4 0;