fix extract template and palettes thumbnails on mac

This commit is contained in:
Ondrej Samohel 2020-12-01 21:55:09 +01:00
parent 762789d145
commit 0dacc5ca0e
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
3 changed files with 14 additions and 5 deletions

View file

@ -183,11 +183,11 @@ PypeHarmony.color = function(rgba) {
/**
* get all dependencies for given node.
* @function
* @param {string} node node path.
* @param {string} _node node path.
* @return {array} List of dependent nodes.
*/
PypeHarmony.getDependencies = function(node) {
var target_node = node;
PypeHarmony.getDependencies = function(_node) {
var target_node = _node;
var numInput = node.numberOfInputPorts(target_node);
var dependencies = [];
for (var i = 0 ; i < numInput; i++) {