Skip to content

Commit

Permalink
[builder] reload morse.core.blenderapi in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
PierrickKoch committed Oct 6, 2013
1 parent a262f6c commit e8e1d89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/morse/builder/setup.py
Expand Up @@ -333,6 +333,9 @@ def test(contr):
if os.path.exists(os.path.join(dir, "morse/blender/main.py")):
sys.path.append(os.path.join(dir, "morse/blender"))
sys.path.append(os.path.join(dir, "morse/blender/human_interaction"))
import imp
import morse.core.blenderapi
imp.reload(morse.core.blenderapi)
return
print ("MORSE ERROR: could not find the MORSE libraries. Please run 'morse check' from the command line to solve this issue.")
print ("Exiting the simulation!")
Expand Down

0 comments on commit e8e1d89

Please sign in to comment.