jitter external: attributes throw error when changed by message

jasch's icon

hello,

i'm trying to finish up some externals i've had lying around for a while.

one external i want to finish exhibits an erroneous error from attribute setting.

for a reason i can't detect it refuses to accept attribute setting via messages from the patcher. i'm attaching the relevant source bits and a simple example exhibitng the problem.

any insight into why this occurs would be helpful.

as an aside: is there any (documented) way of having something with jitter attrs similar to the new-style Max5 attr macros for enums:

CLASS_ATTR_STYLE(c,"inmode", 0L, "enum");
CLASS_ATTR_ENUMINDEX(c,"inmode", 0L, "bounds hull bounds&hull");

thanks for comments

Max Patch
Copy patch and select New From Clipboard in Max.

/*j

845.convexhull_debug.c
c