As the title say, paste this into a dynamic plugin
using System;
using System.ComponentModel.Composition;
using VVVV.PluginInterfaces.V1;
using VVVV.PluginInterfaces.V2;
namespace VVVV.Nodes
{
[PluginInfo(Name = "SpreadMaxBug", Category = "Value", Help = "Basic template with one value in/out", Tags = "")](PluginInfo(Name = "SpreadMaxBug", Category = "Value", Help = "Basic template with one value in/out", Tags = ""))
public class ValueSpreadMaxBugNode : IPluginEvaluate
{
[Input("Input", DefaultValue = 1.0)](Input("Input", DefaultValue = 1.0))
public ISpread<ISpread<double>> FInput;
[Output("Output",IsSingle=true)](Output("Output",IsSingle=true))
public ISpread<double> FOutput;
public void Evaluate(int SpreadMax)
{
FOutput[0](0) = SpreadMax;
}
}
}
Set input to a spread while keeping bin size of -1
SpreadMax should stay 1 (since bin size is -1), but instead it gives the size of the spread instead.