Putting in info for tool change timing
refactoring extruder index to tool index
This commit is contained in:
parent
0c6a0fe4be
commit
457e31ef10
8 changed files with 41 additions and 24 deletions
|
|
@ -68,9 +68,9 @@ namespace MatterHackers.GCodeVisualizer
|
|||
var position = new Vector3(this.position);
|
||||
|
||||
// retract and unretract are the extruder color
|
||||
Color color = renderInfo.GetMaterialColor(extruderIndex);
|
||||
Color color = renderInfo.GetMaterialColor(toolIndex);
|
||||
// except for extruder 0 where they are the red and blue we are familiar with
|
||||
if (extruderIndex == 0)
|
||||
if (toolIndex == 0)
|
||||
{
|
||||
if (extrusionAmount > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue