From 39b213916f498112931de17304ac47a9e90ead1c Mon Sep 17 00:00:00 2001 From: Dan Birman Date: Fri, 24 Nov 2023 20:59:51 -0800 Subject: [PATCH] fix: wrong axis for ML slice --- .../Packages/vbl.urchin/Scripts/Managers/VolumeManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnityClient/Packages/vbl.urchin/Scripts/Managers/VolumeManager.cs b/UnityClient/Packages/vbl.urchin/Scripts/Managers/VolumeManager.cs index fa36c55d..debcc985 100644 --- a/UnityClient/Packages/vbl.urchin/Scripts/Managers/VolumeManager.cs +++ b/UnityClient/Packages/vbl.urchin/Scripts/Managers/VolumeManager.cs @@ -115,7 +115,7 @@ public void UpdateSagittalSlicePos(float percentage) { foreach (VolumeRenderer vr in _volumes.Values) { - vr._slicePosition.z = percentage - 0.5f; + vr._slicePosition.y = percentage - 0.5f; } }