Fixing slicing delay with lots of supports
This commit is contained in:
parent
c4282d3405
commit
546b897355
2 changed files with 3 additions and 2 deletions
|
|
@ -605,6 +605,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
if (solids.Any())
|
||||
{
|
||||
bool firstSolid = true;
|
||||
var solidsCount = solids.Count();
|
||||
foreach (var solid in solids)
|
||||
{
|
||||
var itemWorldMatrix = solid.WorldMatrix();
|
||||
|
|
@ -620,7 +621,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
|
||||
outputItems.Add((itemWorldMatrix, Path.Combine(ApplicationDataStorage.Instance.LibraryAssetsPath, solid.MeshPath)));
|
||||
mergeString += $"{savedStlCount++}";
|
||||
if (solids.Count() > 1)
|
||||
if (solidsCount > 1)
|
||||
{
|
||||
if (firstSolid)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 66ec790396e7903ad9760dbd0f962655fa8f2399
|
||||
Subproject commit b91b9773011dd3646c144ecbef6e540243750d91
|
||||
Loading…
Add table
Add a link
Reference in a new issue