Skip to content

Commit

Permalink
Update 7_scripting.py
Browse files Browse the repository at this point in the history
 Fix Script error with saveModel makehumancommunity#192
  • Loading branch information
Aranuvir authored Apr 18, 2022
1 parent 8006cf2 commit e9dcf88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makehuman/plugins/7_scripting.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def applyTarget(self,targetName,power):
def saveModel(self,name,path = mh.getPath('models')):
log.message("SCRIPT: saveModel(" + name + "," + path + ")")
filename = os.path.join(path,name + ".mhm")
self.human.save(filename,name)
self.human.save(filename)

def loadModel(self,name,path = mh.getPath('models')):
log.message("SCRIPT: loadModel(" + name + "," + path + ")")
Expand Down

0 comments on commit e9dcf88

Please sign in to comment.