Revise Part -> Print plating logic
This commit is contained in:
parent
38bd13fc33
commit
ec4639469c
3 changed files with 27 additions and 6 deletions
|
|
@ -172,11 +172,11 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
}
|
||||
}
|
||||
|
||||
public static async Task AutoArrangeChildren(this InteractiveScene scene, View3DWidget view3DWidget)
|
||||
public static async Task AutoArrangeChildren(this InteractiveScene scene, Vector3 bedCenter)
|
||||
{
|
||||
await Task.Run(() =>
|
||||
{
|
||||
PlatingHelper.ArrangeOnBed(scene.Children.ToList(), scene, view3DWidget.BedCenter);
|
||||
PlatingHelper.ArrangeOnBed(scene.Children.ToList(), scene, bedCenter);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue