fix(ppro): audio only was not working

This commit is contained in:
Jakub Jezek 2020-07-21 11:55:27 +02:00
parent 916e7d03ee
commit 059082a671
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -534,7 +534,9 @@ $.pype = {
if (instances === null) {
return null;
}
if (audioOnly === true) {
// make only audio representations
if (audioOnly === 'true') {
$.pype.log('? looping if audio True');
for (var i = 0; i < instances.length; i++) {
var subsetToRepresentations = instances[i].subsetToRepresentations;