Added scale control to ring and torus
This commit is contained in:
parent
73a9c4ed9e
commit
04f92eb887
10 changed files with 202 additions and 60 deletions
|
|
@ -67,12 +67,12 @@ namespace MatterHackers.Plugins.EditorTools
|
|||
|
||||
private ScaleController scaleController;
|
||||
|
||||
public ScaleHeightControl(IObject3DControlContext context, Func<double> getDiameter = null, Action<double> setDiameter = null)
|
||||
public ScaleHeightControl(IObject3DControlContext context, List<Func<double>> getDiameters = null, List<Action<double>> setDiameters = null)
|
||||
: base(context)
|
||||
{
|
||||
theme = MatterControl.AppContext.Theme;
|
||||
|
||||
scaleController = new ScaleController(getDiameter, setDiameter);
|
||||
scaleController = new ScaleController(getDiameters, setDiameters);
|
||||
|
||||
heightValueDisplayInfo = new InlineEditControl()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue