Messed up zoom navigation, need help! I somehow pressed a key combination like Ctrl+Shift+., the zoom center switched to the object origin (I was in 3D view) and now when I press middle mouse button and try to navigate the whole view rotates around the object origin. It doesn't move either when I select vertices in edit mode and press . again.

How to turn it back to normal? I already tried some options in view panel but nothing worked so far.

Edit: It also says "View offset is locked" when I press Shift or Ctrl and scroll middle mouse button.
I found out what exactly went wrong here. The view was locked to the object. So I somehow pressed a key combination that made the current object be the target for locked view.

If this occures to anyone else, press N whilst your mouse cursor is in 3D view window. Scroll through the opened panel, until you find the "view" one.



Now delete the target by clicking on the "x" as shown in the picture. This solved my problem.