Change ZOffset to LayerTop
This commit is contained in:
parent
acd8842f0b
commit
7fadf07589
5 changed files with 8 additions and 8 deletions
|
|
@ -927,10 +927,10 @@ namespace MatterControl.Printing
|
|||
return .5;
|
||||
}
|
||||
|
||||
public override double GetLayerZOffset(int layerIndex)
|
||||
public override double GetLayerTop(int layerIndex)
|
||||
{
|
||||
double total = 0;
|
||||
for (int i = 0; i < layerIndex; i++)
|
||||
for (int i = 0; i <= layerIndex; i++)
|
||||
{
|
||||
total += GetLayerHeight(i);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue