Browse Source

添加三窗口同步华夫盒功能

yun 1 day ago
parent
commit
04bcbcb7bf

+ 2 - 0
View/die-bonder-ui/OriginalWnd/ChartsAndCamerasWnd.cpp

@@ -301,6 +301,8 @@ void ChartsAndCamerasWnd::initFrom() {
             if (manager->getWaffle())
             {
                 waffleMap.insert(num, manager->getWaffle());
+                ui->viewwidgetgroup->setWaffle(waffleMap.value(i + 1));
+                m_allGroup[i]->setWaffleWidget(ui->viewwidgetgroup->getWaffle()->getGlobalPixmap());
             }
             if (manager->getMaterialBox())
             {

+ 2 - 0
View/die-bonder-ui/OriginalWnd/SingleCameraOperationWnd.cpp

@@ -92,6 +92,8 @@ void SingleCameraOperationWnd::initFrom() {
             }
             if (manager->getWaffle()) {
                 waffleMap.insert(num, manager->getWaffle());
+                ui->viewwidgetgroup->setWaffle(waffleMap.value(i + 1));
+                m_allGroup[i]->setWaffleWidget(ui->viewwidgetgroup->getWaffle()->getGlobalPixmap());
             }
             if (manager->getMaterialBox()) {
                 materialBoxMap.insert(num, manager->getMaterialBox());