-
Sampling expression crashing AE and glitchy.
Hello everyone,
I’m using the following expression on the opacity 60+ layers. Taking it’s value from my Gradient2 comp:
It is being very glitchy. When applied, it randomly disables the expression on other random layers. And it regularly crashes with no foreseeable pattern. I really need a solution. Any help would be greatly appreciated.-RP
Expression:
min = [0];
max = [100];
l = thisComp.layer(“Gradient2”);
p = l.fromComp(toComp(anchorPoint));
v = rgbToHsl(l.sampleImage(p))[2];
linear(v, 0, 1, min, max);Crash error:
Last log message was: <140735115800960> <2> Making New Context
Sorry, there were no replies found.