setProxyToNone() crash my CS5 but used to work fine in CS4.
Could someone confirm this bug ?
Here is a sample code (assuming the first selected item has a proxy):
Code: Select all
var curItem = app.project.selection[0];
if (curItem.useProxy)
{
curItem.setProxyToNone();
}