Skip to content

Commit d366c14

Browse files
authored
Merge pull request #36 from yonibrowning/main
Probe indexing fix
2 parents 6942af5 + 172ff52 commit d366c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/TP_InPlaneSlice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void UpdateInPlaneSlice()
7272
Vector3 tipPosition = tipTransform.position + tipTransform.up * (0.2f + mmStartPos);
7373

7474
// Setup variables for view
75-
bool fourShank = activeProbeController.GetProbeType() == 2;
75+
bool fourShank = activeProbeController.GetProbeType() == 4;
7676
float pixelWidth = inPlaneXmm * 1000 / 401f; // how wide each pixel is in um
7777

7878
// If this is the fourShank probe, let's shift the center position to be offset so that it's at the center of the four probes

0 commit comments

Comments
 (0)