3D Viewer: Change zoom limits if models are larger than board
If the board changes there may be a single frame where the camera distance is not readjusted to fit the min. and max. values (they depend on board and component model sizes). I don't know how to do it better without drawing that frame twice or doing a significant refactor.
It's also somewhat questionable that this calculation is to be performed in the raytracing renderer, even when it's the OpenGL renderer that is currently chosen, but this is not the first calculation that is handled like this. Doing this better would again require a significant refactor, which is just not worth it until V6 is out.
Fixes #9407 (closed)
Fixes #8805 (closed)
Edited by Mikolaj Wielgus