Skip to content

Posts tagged ‘script controllers’

Max: Detecting illegal/cyclic references?

May 25, 2012


I’m working with weak references in a script controller and trying to get around an issue. If the reference is validated incorrectly from keyframe changes (moving, deleting etc) I get a hard script controller error – “illegal cyclic reference”.

It appears nothing can catch the error before the script controller does – callbacks, node events, all happen after the controller is evaluated.

I’d love a way to essentially ping the controller – but im not sure its possible as cyclic-error have to be caught early.

I may have to resort to creating a rollout to move edit keys etc, but that affects usability.