Skip to content

Commit

Permalink
fix: reverting an earlier change
Browse files Browse the repository at this point in the history
There's some kind of cyclical dependency in the coordinate transforms that I don't see, but apparently it's all working now?
  • Loading branch information
dbirman committed Feb 3, 2024
1 parent a515adf commit 58fca04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Pinpoint/Probes/UI/ProbeUIManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ private async void ProbedMovedHelper()
Vector3 startCoordWorldT = _electrodeBase.transform.position + -_electrodeBase.transform.forward * channelCoords.startPosmm;
Vector3 endCoordWorldT = _electrodeBase.transform.position + -_electrodeBase.transform.forward * channelCoords.endPosmm;

Vector3 startCoordWorldU = BrainAtlasManager.WorldT2WorldU(startCoordWorldT);
Vector3 endCoordWorldU = BrainAtlasManager.WorldT2WorldU(endCoordWorldT);
Vector3 startCoordWorldU = BrainAtlasManager.WorldT2WorldU(startCoordWorldT, true);
Vector3 endCoordWorldU = BrainAtlasManager.WorldT2WorldU(endCoordWorldT, true);

// TODO: add back in in the future

Expand Down

0 comments on commit 58fca04

Please sign in to comment.