hi, all
I have a problem on Maya.env, and here is the details.
Environment:
Maya2009, windows XP x32.
Context Description:
1.I add the following items in Maya.env
SHADERSP_ROOT = E:/dev/nVidia/mentalimage/OpenProjects/shaders_p/trunk/shaders_p_3.3
SHADERSP_ATTR_PRESETS = $SHADERSP_ROOT/attrPresets/p_MegaTK
SHADERSP_MEL = $SHADERSP_ROOT/AE; $SHADERSP_ATTR_PRESETS; $SHADERSP_ROOT/mel_override/2009;
XXX= E:\dev\render\renderer\elvishrayrenderer\ elvishrayrenderer (yes , it contains a space character in the path, but it works fine.)
//
MAYA_SCRIPT_PATH = $XXX; $SHADERSP_MEL;
2.There is a file s.mel in $XXX path.
3.run command source "s.mel", every thing is fine.
Question:
But, if I put $SHADERSP_MEL before $XXX, like this:
MAYA_SCRIPT_PATH = $SHADERSP_MEL; $XXX;
Then, when I run the command source "s.mel"; It complains Error: Cannot find file "s.mel" for source statement.
So, I think $SHADERSP_MEL impacts on $XXX。But what's wrong in $SHADERSP_MEL?
Thank you.