I get the following errors after sourcing the script and executing it in Maya 2018 for the first time...
// Warning: string $light = `spotLight -n $name`; //
// Warning: Line 224.40 : Redeclaration of variable "$light" shadows previous declaration at line 204. Previous value will be overwritten by explicit initializer. //
// Warning: string $light = `pointLight -n $name`; //
// Warning: Line 244.41 : Redeclaration of variable "$light" shadows previous declaration at line 204. Previous value will be overwritten by explicit initializer. //
I get the following errors after sourcing the script and executing it in Maya 2018 for the first time...
// Warning: string $light = `spotLight -n $name`; //
// Warning: Line 224.40 : Redeclaration of variable "$light" shadows previous declaration at line 204. Previous value will be overwritten by explicit initializer. //
// Warning: string $light = `pointLight -n $name`; //
// Warning: Line 244.41 : Redeclaration of variable "$light" shadows previous declaration at line 204. Previous value will be overwritten by explicit initializer. //