Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Classes/Influx.sc
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,12 @@ Influx :InfluxBase {
var mappedKeyValList;
var offDict = ();

// Look for specs: Passed in via param, local specs in the object or global specs defined in ControlSpec.specs
specs = specs ?? {object.getSpec} ? ControlSpec.specs;
// Look for specs with priority
// 1. Passed in via param
// 2. local specs in the object (if object responds to specs)
// 3. global specs defined in ControlSpec.specs
specs = specs ?? {object.tryPerform('specs')} ? ControlSpec.specs;

funcName = funcName ?? { object.key };
paramNames = paramNames
?? { object.getHalo(\orderedNames); }
Expand Down