]> OCCT Git - occt.git/commitdiff
Visualization, Aspect_OpenVRSession - fix JSON file path when it is located relative...
authorKirill Gavrilov <kirill@sview.ru>
Wed, 25 Oct 2023 12:31:14 +0000 (15:31 +0300)
committerdpasukhi <dpasukhi@opencascade.com>
Fri, 31 Jan 2025 15:33:13 +0000 (15:33 +0000)
src/Aspect/Aspect_OpenVRSession.cxx

index eb2e8f6b72051d8865f66894b68a53b508a0f79a..e367ef615693aad96403234c88f3b3a142a754d6 100644 (file)
@@ -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