[Bf-blender-cvs] [85a6c07670f] master: macOS fix T67686 , use absolute path to load 3Dconnexion framework

Arto Kitula noreply at git.blender.org
Thu Sep 12 21:46:59 CEST 2019


Commit: 85a6c07670fbbe279c567844b99a7a6bd6de07db
Author: Arto Kitula
Date:   Thu Sep 12 22:46:49 2019 +0300
Branches: master
https://developer.blender.org/rB85a6c07670fbbe279c567844b99a7a6bd6de07db

macOS fix T67686 , use absolute path to load 3Dconnexion framework

===================================================================

M	intern/ghost/intern/GHOST_NDOFManagerCocoa.mm

===================================================================

diff --git a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm
index 4d07a399002..0fc6af64bac 100644
--- a/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm
+++ b/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm
@@ -121,7 +121,7 @@ static bool load_driver_functions()
     return true;
   }
 
-  module = dlopen("3DconnexionClient.framework/3DconnexionClient", RTLD_LAZY | RTLD_LOCAL);
+  module = dlopen("/Library/Framework/3DconnexionClient.framework/3DconnexionClient", RTLD_LAZY | RTLD_LOCAL);
 
   if (module) {
     LOAD_FUNC(SetConnexionHandlers);



More information about the Bf-blender-cvs mailing list