Skip to content

Commit

Permalink
better code as per powroupi's suggestion in powroupi#31
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Oct 3, 2016
1 parent 543a3ef commit 10a34a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmd_tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def selectSingleBone(context, armature, bone_name, reset_pose=False):
__CONVERT_NAME_TO_L_REGEXP = re.compile('^(.*)左(.*)$')
__CONVERT_NAME_TO_R_REGEXP = re.compile('^(.*)右(.*)$')
## 日本語で左右を命名されている名前をblender方式のL(R)に変更する
def convertNameToLR(name, use_underscore):
def convertNameToLR(name, use_underscore=False):
m = __CONVERT_NAME_TO_L_REGEXP.match(name)
delimiter = '_' if use_underscore else '.'
if m:
Expand Down

0 comments on commit 10a34a9

Please sign in to comment.