@@ -232,6 +232,8 @@ QAction *getExport3DAction(const MainWindow *mainWindow) {
232232 return mainWindow->fileActionExportOFF ;
233233 } else if (format == " WRL" ) {
234234 return mainWindow->fileActionExportWRL ;
235+ } else if (format == " POV" ) {
236+ return mainWindow->fileActionExportPOV ;
235237 } else if (format == " AMF" ) {
236238 return mainWindow->fileActionExportAMF ;
237239 } else if (format == " 3MF" ) {
@@ -494,6 +496,7 @@ MainWindow::MainWindow(const QStringList& filenames)
494496 connect (this ->fileActionExportOBJ , SIGNAL (triggered ()), this , SLOT (actionExportOBJ ()));
495497 connect (this ->fileActionExportOFF , SIGNAL (triggered ()), this , SLOT (actionExportOFF ()));
496498 connect (this ->fileActionExportWRL , SIGNAL (triggered ()), this , SLOT (actionExportWRL ()));
499+ connect (this ->fileActionExportPOV , SIGNAL (triggered ()), this , SLOT (actionExportPOV ()));
497500 connect (this ->fileActionExportAMF , SIGNAL (triggered ()), this , SLOT (actionExportAMF ()));
498501 connect (this ->fileActionExportDXF , SIGNAL (triggered ()), this , SLOT (actionExportDXF ()));
499502 connect (this ->fileActionExportSVG , SIGNAL (triggered ()), this , SLOT (actionExportSVG ()));
@@ -651,6 +654,7 @@ MainWindow::MainWindow(const QStringList& filenames)
651654 initActionIcon (fileActionExportOBJ, " :/icons/svg-default/export-obj.svg" , " :/icons/svg-default/export-obj-white.svg" );
652655 initActionIcon (fileActionExportOFF, " :/icons/svg-default/export-off.svg" , " :/icons/svg-default/export-off-white.svg" );
653656 initActionIcon (fileActionExportWRL, " :/icons/svg-default/export-wrl.svg" , " :/icons/svg-default/export-wrl-white.svg" );
657+ initActionIcon (fileActionExportPOV, " :/icons/svg-default/export-pov.svg" , " :/icons/svg-default/export-pov-white.svg" );
654658 initActionIcon (fileActionExportDXF, " :/icons/svg-default/export-dxf.svg" , " :/icons/svg-default/export-dxf-white.svg" );
655659 initActionIcon (fileActionExportSVG, " :/icons/svg-default/export-svg.svg" , " :/icons/svg-default/export-svg-white.svg" );
656660 initActionIcon (fileActionExportCSG, " :/icons/svg-default/export-csg.svg" , " :/icons/svg-default/export-csg-white.svg" );
@@ -2958,6 +2962,11 @@ void MainWindow::actionExportWRL()
29582962 actionExport (FileFormat::WRL, " WRL" , " .wrl" , 3 );
29592963}
29602964
2965+ void MainWindow::actionExportPOV ()
2966+ {
2967+ actionExport (FileFormat::POV, " POV" , " .pov" , 3 );
2968+ }
2969+
29612970void MainWindow::actionExportAMF ()
29622971{
29632972 actionExport (FileFormat::AMF, " AMF" , " .amf" , 3 );
0 commit comments