save rendertype,
evaluate rednertype specular, changed info window always on top
This commit is contained in:
@@ -20,7 +20,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
, ui(new Ui::MainWindowClass)
|
||||
, m_curSeverity(0)
|
||||
, m_output(new QLabel(this))
|
||||
, m_infoWindow(new FileInfoWindow())
|
||||
, m_infoWindow(new FileInfoWindow(this))
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
@@ -233,12 +233,16 @@ void MainWindow::setFileInfo(QString name, QVector<Material>* materials, int ver
|
||||
}
|
||||
m_fileInfo += "\n";
|
||||
|
||||
m_fileInfo += "Rendertype:\t-";
|
||||
//TODO: rendertype
|
||||
m_fileInfo += "Rendertype:\t";
|
||||
m_fileInfo += QByteArray::number(it.rendertype);
|
||||
m_fileInfo += "\n";
|
||||
|
||||
m_fileInfo += "Shininess:\t";
|
||||
m_fileInfo += "Gloss:\t";
|
||||
m_fileInfo += QByteArray::number(it.shininess);
|
||||
m_fileInfo += "\tData0:\t";
|
||||
m_fileInfo += QByteArray::number(it.dataValues[0]);
|
||||
m_fileInfo += "\tData1:\t";
|
||||
m_fileInfo += QByteArray::number(it.dataValues[1]);
|
||||
m_fileInfo += "\n";
|
||||
|
||||
m_fileInfo += "Diffusecolor:\tR: ";
|
||||
|
||||
Reference in New Issue
Block a user