Maurice
10-11-2002, 12:17 PM
Shouldn't this work in Maya4.5 or is it just me?:curious:
connectAttr -f -nextAvailable directionalLightShape1.lightShadowFraction plusMinusAverage1.input1D;
connectAttr -f -nextAvailable directionalLightShape2.lightShadowFraction plusMinusAverage1.input1D;
This works perfectly in 4.0 but now in 4.5 it gives me this.
// Warning: Can't specify -na when connecting attribute 'directionalLightShape2.lightShadowFraction' to 'plusMinusAverage1.input1D'. //
Next thing is scriptJob
scriptJob -ac "nurbsSphere1.tx" "print ha";
It works. But if I delete the sphere, the job stays in the list `scriptJob -lj`
Are these some kind of bugs in 4.5?
Please tell me that I'm not the only one and that someone is working on a patch or something.
P.S. I know I could do connectAttr this way...
connectAttr -f directionalLightShape1.lightShadowFraction plusMinusAverage1.input1D[0];
connectAttr -f directionalLightShape2.lightShadowFraction plusMinusAverage1.input1D[1];
but this "fixing your old MEL Scripts" process is giving me a headache.
connectAttr -f -nextAvailable directionalLightShape1.lightShadowFraction plusMinusAverage1.input1D;
connectAttr -f -nextAvailable directionalLightShape2.lightShadowFraction plusMinusAverage1.input1D;
This works perfectly in 4.0 but now in 4.5 it gives me this.
// Warning: Can't specify -na when connecting attribute 'directionalLightShape2.lightShadowFraction' to 'plusMinusAverage1.input1D'. //
Next thing is scriptJob
scriptJob -ac "nurbsSphere1.tx" "print ha";
It works. But if I delete the sphere, the job stays in the list `scriptJob -lj`
Are these some kind of bugs in 4.5?
Please tell me that I'm not the only one and that someone is working on a patch or something.
P.S. I know I could do connectAttr this way...
connectAttr -f directionalLightShape1.lightShadowFraction plusMinusAverage1.input1D[0];
connectAttr -f directionalLightShape2.lightShadowFraction plusMinusAverage1.input1D[1];
but this "fixing your old MEL Scripts" process is giving me a headache.
