Sfoglia il codice sorgente

fix the exporter of the qt viewer

aoowweenn 8 anni fa
parent
commit
ba357e74d2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tools/assimp_qt_viewer/mainwindow.cpp

+ 1 - 1
tools/assimp_qt_viewer/mainwindow.cpp

@@ -295,7 +295,7 @@ aiReturn rv;
 
 	// begin export
 	time_begin = QTime::currentTime();
-	rv = exporter.Export(mScene, format_id.toLocal8Bit(), filename.toLocal8Bit());
+	rv = exporter.Export(mScene, format_id.toLocal8Bit(), filename.toLocal8Bit(), aiProcess_FlipUVs);
 	ui->lblExportTime->setText(QString("%1").arg(time_begin.secsTo(QTime::currentTime())));
 	if(rv == aiReturn_SUCCESS)
 		LogInfo("Export done: " + filename);