I'm testing my script which has some array declaration in it. It goes like this:
string $ctrlList[] = {"ctrl1", "ctrl2", "ctrl3"};
But when I try to make a change in one of the element and re-excute it in Script Editor,ex. ctrl2-->ctrl4, ctrl2 wasn't replaced by ctrl4. If I print out the array, it's like
ctrl1
ctrl2
ctrl3
ctrl1
ctrl4
ctrl3
is there something i can do to clean it up first? otherwise I have to restart maya everytime for testing it...
thax
cooki