From 2d4070bed7271ce0844aca1ca55c1de8b4d1fe33 Mon Sep 17 00:00:00 2001 From: Kirill Gavrilov Date: Wed, 25 Oct 2023 15:31:14 +0300 Subject: [PATCH] Visualization, Aspect_OpenVRSession - fix JSON file path when it is located relative to executable #316 --- src/Aspect/Aspect_OpenVRSession.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Aspect/Aspect_OpenVRSession.cxx b/src/Aspect/Aspect_OpenVRSession.cxx index eb2e8f6b72..e367ef6156 100644 --- a/src/Aspect/Aspect_OpenVRSession.cxx +++ b/src/Aspect/Aspect_OpenVRSession.cxx @@ -206,7 +206,7 @@ TCollection_AsciiString defaultActionsManifestInit() return aCasRoot + "/XRResources/src/" + THE_ACTIONS_JSON; } } - return OSD_Process::ExecutablePath() + "/occtvr_actions.json"; + return OSD_Process::ExecutableFolder() + "/occtvr_actions.json"; } } // namespace #endif