Gui: Find bounding sphere before drag or animation

This commit is contained in:
Rexbas
2023-11-10 22:33:41 +01:00
parent 93468a5e0b
commit 0309be88d1
4 changed files with 30 additions and 20 deletions

View File

@@ -1498,6 +1498,8 @@ void View3DInventorViewer::setSceneGraph(SoNode* root)
static_cast<SoSeparator*>(scene)->insertChild(this->backlight, 0);
}
}
navigation->findBoundingSphere();
}
void View3DInventorViewer::savePicture(int width, int height, int sample, const QColor& bg, QImage& img) const