From 2bd836720a65dbf0d9c630f0675cd7968fe33403 Mon Sep 17 00:00:00 2001 From: pFernbach Date: Thu, 11 Apr 2019 11:34:31 +0200 Subject: [PATCH] fullbody.py : only import gepetto.blender.exportmotion inside the export method Solve #24 --- src/hpp/corbaserver/rbprm/rbprmfullbody.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hpp/corbaserver/rbprm/rbprmfullbody.py b/src/hpp/corbaserver/rbprm/rbprmfullbody.py index 7a177f30..2382c2b9 100755 --- a/src/hpp/corbaserver/rbprm/rbprmfullbody.py +++ b/src/hpp/corbaserver/rbprm/rbprmfullbody.py @@ -18,7 +18,6 @@ from hpp.corbaserver.rbprm import Client as RbprmClient from hpp.corbaserver.robot import Robot -import hpp.gepetto.blender.exportmotion as em from numpy import array, matrix from hpp_spline import bezier @@ -817,6 +816,7 @@ def computeTargetTransform(self, limbName, configuration, p, n): # \param configurations list of configurations to save # \param filename outputfile where to export the motion def exportMotion(self, viewer, configurations, filename): + import hpp.gepetto.blender.exportmotion as em em.exportStates(viewer, self.client.robot, configurations, filename) ## Export motion to a format readable by the blender