Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #25 from pFernbach/topic/issue24
Browse files Browse the repository at this point in the history
fullbody.py : only import gepetto.blender.exportmotion inside the export method
  • Loading branch information
stonneau authored Apr 12, 2019
2 parents 6e70b4f + 2bd8367 commit 4da93bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hpp/corbaserver/rbprm/rbprmfullbody.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4da93bb

Please sign in to comment.