Framing camera rotation around selected object + centering view

 From:  Michael Gibson
11112.5 In reply to 11112.4 
Hi pior,

re:
> I see that the code for the two versions is very similar. Is one more robust than the other

One version operates only on the 3D viewport, the other one operates on the active view including if it's an ortho view.

- Michael