Question
Crash on adding camera to composition
After adding a camera to a comp via script, AFX crashes on opening the comp.
After running this, open the comp and AFX crashes.
var myItemCollection = app.project.items;
var myComp = app.project.items.addComp('Composition Name', 1920.0, 1080.0, 1, 5.6, 25);
var newCamera = myComp.layers.addCamera('020_030_', [0, 5.6]);
When manually creating a comp and then adding camera via script, it works.
var newCamera = app.project.items.activeItem.layers.addCamera('020_030_', [0, 5.6]);
AFX Version is 18.2.0
Am I doing something wrong or is this a bug?
