This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global proc updatePhotometricLights(string $filePath) { | |
// Encuentra todas las luces fotométricas en la escena | |
string $photometricLights[] = `ls -type "aiPhotometricLight"`; | |
// Actualiza el atributo 'Photometry File' para cada luz | |
for ($light in $photometricLights) { | |
setAttr ($light + ".aiFilename") -type "string" $filePath; | |
} | |
} |
OlderNewer