The beginning of variable support

This commit is contained in:
LarsBrubaker 2021-05-29 22:21:50 -07:00
parent 8a66242699
commit 4f3a241e86
22 changed files with 187 additions and 85 deletions

View file

@ -189,6 +189,8 @@ namespace MatterHackers.MatterControl.DesignTools
public void AddObject3DControls(Object3DControlsLayer object3DControlsLayer)
{
object3DControlsLayer.Object3DControls.Add(new ScaleDiameterControl(object3DControlsLayer,
null,
null,
new List<Func<double>>() { () => Diameter },
new List<Action<double>>() { (diameter) => Diameter = diameter },
0,