diff --git a/src/morse/builder/setup.py b/src/morse/builder/setup.py index 99fde0d1b..46b57e12d 100644 --- a/src/morse/builder/setup.py +++ b/src/morse/builder/setup.py @@ -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!")