MEL Zキーを押すと全てのファイルノードのテクスチャのリロードを行う。
global proc Reload1()
{
select `ls -type file`;
string $selOBJ;
string $selOBJS[]= `ls -sl`;
for( $selOBJ in $selOBJS )
{
AEfileTextureReloadCmd($selOBJ+".fileTextureName");
};
};
$hotKey1 = `nameCommand
-annotation "Reload"
-command "Reload1"`;
runTimeCommand -command "Reload1" -category "User" $hotKey1;
hotkey -k "z" -name $hotKey1;