Fixed issue with debug patch drawing in terrain.
Merge pull request #1255 from sgrenier/next

Fixed issue with debug patch drawing in terrain.