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…