Roll-Hexagon transition in an active optical system