From 9f79f6a270e6bb26cb9695744fbfc9fb4af7554e Mon Sep 17 00:00:00 2001
From: jcarpent <jcarpent@laas.fr>
Date: Mon, 26 Sep 2016 11:19:33 +0200
Subject: [PATCH] [Python] Fix bug in exposition of geometries and for the
 visuals

---
 bindings/python/algorithm/algorithms.hpp        | 3 ---
 bindings/python/algorithm/expose-algorithms.cpp | 3 ---
 bindings/python/robot_wrapper.py                | 2 +-
 3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/bindings/python/algorithm/algorithms.hpp b/bindings/python/algorithm/algorithms.hpp
index ac5d26b6e..3b61f529d 100644
--- a/bindings/python/algorithm/algorithms.hpp
+++ b/bindings/python/algorithm/algorithms.hpp
@@ -44,10 +44,7 @@ namespace se3
     void exposeDynamics();
     void exposeCAT();
     void exposeJacobian();
-    
-#ifdef WITH_HPP_FCL
     void exposeGeometryAlgo();
-#endif // ifdef WITH_HPP_FCL
 
     void exposeAlgorithms();
     
diff --git a/bindings/python/algorithm/expose-algorithms.cpp b/bindings/python/algorithm/expose-algorithms.cpp
index 8180a398c..c50458d13 100644
--- a/bindings/python/algorithm/expose-algorithms.cpp
+++ b/bindings/python/algorithm/expose-algorithms.cpp
@@ -35,10 +35,7 @@ namespace se3
       exposeDynamics();
       exposeCAT();
       exposeJacobian();
-      
-#ifdef WITH_HPP_FCL
       exposeGeometryAlgo();
-#endif // ifdef WITH_HPP_FCL
     }
     
   } // namespace python
diff --git a/bindings/python/robot_wrapper.py b/bindings/python/robot_wrapper.py
index ebb0d943c..083418a0d 100644
--- a/bindings/python/robot_wrapper.py
+++ b/bindings/python/robot_wrapper.py
@@ -177,7 +177,7 @@ class RobotWrapper(object):
         # iterate over visuals and create the meshes in the viewer
         for visual in self.visual_model.geometryObjects :
             meshName = self.viewerNodeNames(visual) 
-            meshPath = visual.mesh_path
+            meshPath = visual.meshPath
             self.viewer.gui.addMesh(meshName, meshPath)
 
         # Finally, refresh the layout to obtain your first rendering.
-- 
GitLab