default unlimit fps, vsync flag
This commit is contained in:
@@ -53,6 +53,8 @@ void ViewEditor::assignQGLView(QGLView * v) {
|
||||
ui->checkService->setChecked(view->isServiceMode());
|
||||
ui->lineHDR->setProperty("GLpath", view->environmentMapFile());
|
||||
ui->lineHDR->setText(QFileInfo(view->environmentMapFile()).fileName());
|
||||
ui->checkVSync->setChecked(view->getVSync());
|
||||
ui->spinSamples->setValue(view->getSamples());
|
||||
active = true;
|
||||
}
|
||||
|
||||
@@ -177,3 +179,14 @@ void ViewEditor::on_buttonHDRSelect_clicked() {
|
||||
ui->lineHDR->setProperty("GLpath", str);
|
||||
view->setEnvironmentMapFile(str);
|
||||
}
|
||||
|
||||
|
||||
void ViewEditor::on_checkVSync_clicked(bool val) {
|
||||
view->setVSync(val);
|
||||
}
|
||||
|
||||
|
||||
void ViewEditor::on_spinSamples_valueChanged(int arg1) {
|
||||
view->setSamples(arg1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user