Commit 956e80ba authored by Jan Möbius's avatar Jan Möbius
Browse files

Set minimal bounding box size to 5

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10900 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 136bdf73
......@@ -294,9 +294,9 @@ void glViewer::sceneGraph(ACG::SceneGraph::BaseNode* _root, const bool _resetTra
bbmax = ACG::Vec3d( 1.0, 1.0, 1.0);
} else {
// For small scenes, we set the scene radius to 10
// For small scenes, we set the scene radius to 5
// otherwise we take the real radius
if ( ( bbmax - bbmin ).max() < 10.0 ) {
if ( ( bbmax - bbmin ).max() < 5.0 ) {
setScenePos( ( bbmin + bbmax ) * 0.5,
10.0,
_resetTrackBall);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment