Use the 'A' command (or could be ^A) to refit all viewports to the current object. This should reset the perspective view too.
Also, you can try holding down the Alt key and rotating the object with the mouse in the perspective viewport. This should release the gimbal lock.
|