Gui: Use Coin 4.0.3 fix for orthographic camera clipping
This commit is contained in:
committed by
Yorik van Havre
parent
fdb0b46857
commit
6f0c3d2fea
@@ -1073,7 +1073,11 @@ void View3DInventorViewer::setEditingViewProvider(Gui::ViewProvider* vp, int Mod
|
||||
{
|
||||
this->editViewProvider = vp;
|
||||
this->editViewProvider->setEditViewer(this, ModNum);
|
||||
|
||||
#if (COIN_MAJOR_VERSION * 100 + COIN_MINOR_VERSION * 10 + COIN_MICRO_VERSION < 403)
|
||||
this->navigation->findBoundingSphere();
|
||||
#endif
|
||||
|
||||
addEventCallback(SoEvent::getClassTypeId(), Gui::ViewProvider::eventCallback,this->editViewProvider);
|
||||
}
|
||||
|
||||
@@ -1536,7 +1540,9 @@ void View3DInventorViewer::setSceneGraph(SoNode* root)
|
||||
}
|
||||
}
|
||||
|
||||
#if (COIN_MAJOR_VERSION * 100 + COIN_MINOR_VERSION * 10 + COIN_MICRO_VERSION < 403)
|
||||
navigation->findBoundingSphere();
|
||||
#endif
|
||||
}
|
||||
|
||||
void View3DInventorViewer::savePicture(int width, int height, int sample, const QColor& bg, QImage& img) const
|
||||
|
||||
Reference in New Issue
Block a user