[READ-ONLY] Mirror of https://github.com/probablykasper/2dcam. After Effects 2d camera
after-effects camera extendscript script
0

Configure Feed

Select the types of activity you want to include in your feed.

Fixed unexpected scale of output

When you have a comp layer with 110% scale and apply 2dCam output to it, the scale would not match the 2dCam. So now, the comp layer's scale will not be used.

Alternatively, we could just set the scale property to 100% and delete the keyframes of that property, but the other properties aren't taken into account anyway

Kasper (Mar 19, 2020, 6:54 PM +0100) b88c3496 09e32f27

+1 -1
+1 -1
2dcam.jsx
··· 200 200 "}", 201 201 ].join('\n'); 202 202 outputLayer.scale.expression = [ 203 - "x = value;", 203 + "x = [100,100];", 204 204 "for (var i = 1; i < source.numLayers + 1; i++) {", 205 205 " var layer = source.layer(i);", 206 206 " if (layer.active && layer.name.substring(0, "+prefix.length+") == '"+prefix+"') {",