Forums > Dev

jitter external: attributes throw error when changed by message

July 22, 2010 | 9:10 pm

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

/*j

– Pasted Max Patch, click to expand. –
Attachments:
  1. convexhull_debug.c

Viewing 1 post (of 1 total)