1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

Visualization, Aspect_OpenVRSession - fix JSON file path when it is located relative to executable #316

This commit is contained in:
Kirill Gavrilov 2023-10-25 15:31:14 +03:00 committed by dpasukhi
parent c8c36fda1c
commit 2d4070bed7

View 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