Browse Source

Fix design tool export bug (thanks neurofun)

https://forum.pjrc.com/threads/48304
dds
PaulStoffregen 7 years ago
parent
commit
c26e76632f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      gui/red/main.js

+ 1
- 1
gui/red/main.js View File

@@ -95,7 +95,7 @@ var RED = (function() {
var src_name = make_name(src);
var dst_name = make_name(dst);
if (j == 0 && parts[1] == 0 && src && src.outputs == 1 && dst && dst._def.inputs == 1) {
cpp += src_name + ", " + parts[0];
cpp += src_name + ", " + dst_name;
} else {
cpp += src_name + ", " + j + ", " + dst_name + ", " + parts[1];
}

Loading…
Cancel
Save