Read Levels from XML
-
Mike Hale
Read Levels from XML
Well, without trying to run your code, I would suggest that if the selection is needed but cleared by some action in your script that you save the selection to a alpha channel and load that channels as a selection after the part that clears the selection. If the error is because of the missing selection that should fix both problems.