Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Insect in AudioSystemDesignTool when exporting objects with modified names.

  1. #1
    Member
    Join Date
    Nov 2017
    Location
    Belgium
    Posts
    32

    Insect in AudioSystemDesignTool when exporting objects with modified names.

    When exporting objects with custom names, patchcords for objects with single input/output will use "ID" instead of "name" for the destination object.

    error in line 98 of /Audio/gui/red/main.js
    2nd line in the code pane
    Code:
    									if (j == 0 && parts[1] == 0 && src && src.outputs == 1 && dst && dst._def.inputs == 1) {
    										cpp += src_name + ", " + parts[0];
    									} else {
    										cpp += src_name + ", " + j + ", " + dst_name + ", " + parts[1];
    									}
    fix:
    Code:
    									if (j == 0 && parts[1] == 0 && src && src.outputs == 1 && dst && dst._def.inputs == 1) {
    										cpp += src_name + ", " + dst_name;
    									} else {
    										cpp += src_name + ", " + j + ", " + dst_name + ", " + parts[1];
    									}

  2. #2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •