Skip to content

Commit 58fca04

Browse files
committed
fix: reverting an earlier change
There's some kind of cyclical dependency in the coordinate transforms that I don't see, but apparently it's all working now?
1 parent a515adf commit 58fca04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/Scripts/Pinpoint/Probes/UI/ProbeUIManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ private async void ProbedMovedHelper()
131131
Vector3 startCoordWorldT = _electrodeBase.transform.position + -_electrodeBase.transform.forward * channelCoords.startPosmm;
132132
Vector3 endCoordWorldT = _electrodeBase.transform.position + -_electrodeBase.transform.forward * channelCoords.endPosmm;
133133

134-
Vector3 startCoordWorldU = BrainAtlasManager.WorldT2WorldU(startCoordWorldT);
135-
Vector3 endCoordWorldU = BrainAtlasManager.WorldT2WorldU(endCoordWorldT);
134+
Vector3 startCoordWorldU = BrainAtlasManager.WorldT2WorldU(startCoordWorldT, true);
135+
Vector3 endCoordWorldU = BrainAtlasManager.WorldT2WorldU(endCoordWorldT, true);
136136

137137
// TODO: add back in in the future
138138

0 commit comments

Comments
 (0)