// A driver drives multiple slave visual paramaters
if (vpx.pType == VisualParamEx.ParamType.TYPE_DRIVER)
{\r
+\r
+ if (vpx.ParamID == 652)\r
+ {\r
+ int x = 0;\r
+ x++;\r
+ }\r
+\r
foreach (VisualParamEx.driven child in vpx.childparams)\r
{\r
\r
d.max1 = float.Parse(param.Value, Utils.EnUsCulture);
d.max2 = float.Parse(node.Attributes.GetNamedItem("max2").Value, Utils.EnUsCulture);
d.min1 = float.Parse(node.Attributes.GetNamedItem("min1").Value, Utils.EnUsCulture);
- d.max2 = float.Parse(node.Attributes.GetNamedItem("min2").Value, Utils.EnUsCulture);
+ d.min2 = float.Parse(node.Attributes.GetNamedItem("min2").Value, Utils.EnUsCulture);
d.hasMinMax = true;
}
else