Fewer lines of code, maybe better, maybe not.

```python
useFishEye = not useFishEye
if not useFishEye:
    resetShader()
```