You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {CompItem} [comp=DuAEProject.getActiveComp] - The composition
30079
+
* @return {Boolean}
30080
+
*/
30081
+
DuAEComp.hasUniqueLayerNames = function(comp) {
30082
+
comp = def(comp, DuAEProject.getActiveComp());
30083
+
if (!comp)
30084
+
return false;
30085
+
30086
+
for (var l = 1, n = comp.numLayers; l <= n; l++) {
30087
+
var name = comp.layer(l).name;
30088
+
for(var i = 1; i <= n; i++) {
30089
+
if (i == l)
30090
+
break;
30091
+
if (name == comp.layer(i).name)
30092
+
return true;
30093
+
}
30094
+
}
30095
+
return false;
30096
+
}
30097
+
30098
+
30099
+
30070
30100
/**
30071
30101
* Gets the After Effects selected properties in the current comp
30072
30102
* @param {PropertyType|PropertyValueType|string|function} [filter] - A filter to get only a certain type, or value type, or property name or matchName.<br />
0 commit comments