fuzzzzzz / MESA

Maya Exporter for Source Assets
http://puppet-master.net
Other
12 stars 1 forks source link

I found a problem in the script. #3

Closed Apache553 closed 9 years ago

Apache553 commented 9 years ago

I'm Chinese.My English is really bad.so please dont laugh at me.

When I run the script,Script Editor shows me this:

source smdOptionWindow;
smdOptionWindow;
// ERROR:       $list[$cnt] = \`substitute "? $item "" \`; //
// ERROR: "E:/MESA/scripts/smdExport.mel" line 19.43: Unterminated string. //

There is nothing happened.

than I try to fix it,so I change

$list[$cnt] = `substitute "? $item "" `

to

$list[$cnt] = `substitute "?" $item "" `

than it works well.

This code looks right in the webpage of Github.(I haven't learnt Mel.) I'm using "Maya 2015 64 bit". please fix it.

fuzzzzzz commented 9 years ago

Hello Apache, thank you for reporting, i am aware of that issue, there is a workaround :

Go to control panel -> region and language -> language for non-unicode After changing this to English(United States), everything works well.

I will possible test out on my side if your fix doesn't impact other users, because your system do not recognize this character "§" This character is use as delimiter to index data into an String Array.

Apache553 commented 9 years ago

Thanks a lot!

I will tell it to others