Fixing plating helper when no object can be placed (places anyway)
This commit is contained in:
parent
21fbab9696
commit
4bdc0e5078
2 changed files with 9 additions and 1 deletions
|
|
@ -127,6 +127,14 @@ namespace MatterHackers.MatterControl
|
|||
currentRatioDone += ratioPerMeshGroup;
|
||||
}
|
||||
|
||||
if (objectsThatHaveBeenPlaced.Count == 0)
|
||||
{
|
||||
// We did not place any object. Make sure we place at least 1 no matter what
|
||||
var object3D = object3DList[0];
|
||||
objectsThatHaveBeenPlaced.Add(object3D);
|
||||
objectsThatWereArrange.Add(object3D);
|
||||
}
|
||||
|
||||
// and finally center whatever we have as a group
|
||||
if (positionType != PositionType.None)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit b59031c528a5935a63c3993cfd78fad354d1968b
|
||||
Subproject commit 3bafc781e18d4d6f6ce0d1aba3b23d24d24b8048
|
||||
Loading…
Add table
Add a link
Reference in a new issue