From: Kirill Gavrilov Date: Wed, 25 Oct 2023 12:31:14 +0000 (+0300) Subject: Visualization, Aspect_OpenVRSession - fix JSON file path when it is located relative... X-Git-Tag: V7_9_0_beta1~22 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=2d4070bed7271ce0844aca1ca55c1de8b4d1fe33;p=occt.git Visualization, Aspect_OpenVRSession - fix JSON file path when it is located relative to executable #316 --- 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