Maya Bug: Freeze Transforms Scale

Heres a potential maya bug I’ve found. Im in maya 2011, and it repos on everyones maya I’ve tried it on. Run this MEL code to create a cube with frozen scale values:

polyCube -w 1 -h 1 -d 1 -sx 1 -sy 1 -sz 1 -ax 0 1 0 -tx 1 -ch 1;
string $objs[] = ls -sl;
string $obj = $objs[0];
setAttr “pCube1.scaleZ” 40;
setAttr “pCube1.scaleX” 40;
setAttr “pCube1.scaleY” 40;
move -r -872.876585 -187.472439 1013.480914 ;
makeIdentity -apply true -t 0 -r 0 -s 1 -n 0;

Now go look at the cube. Go Create UVs > Planar Mapping.
Did it move away? What the hell?
Seems to be problems with freezing scale values, but not transforms as well.

Any ideas about how to get around this? To “fix” it, you can set all the scale values to be non-1 (eg 1.0001). But I need a solution that leaves the scale at 1 for XYZ, and still has its world space translate values…

Nothing moves here. Using Maya 2011 vanilla and 2011 SP1. Both look OK to me.

Same here, nothing moves on 2011 SP1.

You got an old flag in the code though:
// Warning: line 1: The -tx/texture flag is obsolete and will be removed in the next release. The -cuv/createUVs flag should be used instead. //

It seems to only happen on x64 version of Maya 2011 (SP1).
Fine on 32 bit…