BUG: Accessing "Source Text" property by script throw an error
When accessing the "Source Text" property from script, after effect throw an error. This wasn't the case previously.
How to reproduce :
Simply create a comp, add a text Layer, select it.
Then run the following script
function main(){
var source = app.project.activeItem.selectedLayers[0].property("Source Text");
var i=2; // place a breakpoint at this line
}
main();
It will throw
After Effects error: Can't get color, this text has no stroke.
And if you inspect the property value, the stroke attribute also has the error.
2
votes
