We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af78675 commit 8e2a475Copy full SHA for 8e2a475
2 files changed
dist/Sp_memory.jsx
@@ -1435,6 +1435,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
1435
if (isFirstStage) {
1436
comp = layers[0].containingComp;
1437
} else {
1438
+ if (layers && layers.length === 0) return new XML('<Comptent name="' + (elementName || 'Default') + '"></Comptent>');
1439
comp = layers[1].containingComp;
1440
}
1441
lib/AfterEffectsLayer.js
@@ -617,6 +617,7 @@
617
618
comp = layers[0].containingComp
619
620
+ if (layers && layers.length === 0) return new XML('<Comptent name="' + (elementName || 'Default') + '"></Comptent>')
621
comp = layers[1].containingComp
622
623
0 commit comments