version 1.2.1
spot light without shadows and with texture fix mesh information points width and points-only meshes support
This commit is contained in:
@@ -70,6 +70,7 @@ void ViewEditor::assignQGLView(QGLView * v) {
|
||||
ui->checkSoftShadows->setChecked(view->softShadows());
|
||||
ui->spinSoftShadowSamples->setValue(view->softShadowsSamples());
|
||||
ui->spinSoftShadowQuality->setValue(view->softShadowsQuality());
|
||||
ui->spinLineWidth->setValue(view->lineWidth());
|
||||
auto setMapSize = [](QComboBox * combo, QSize sz) {
|
||||
for (int i = 0; i < combo->count(); ++i) {
|
||||
if (combo->itemData(i).toSize() == sz) {
|
||||
@@ -268,6 +269,12 @@ void ViewEditor::on_spinSoftShadowQuality_valueChanged(double arg1) {
|
||||
}
|
||||
|
||||
|
||||
void ViewEditor::on_spinLineWidth_valueChanged(double v) {
|
||||
if (!view || !active) return;
|
||||
view->setLineWidth(v);
|
||||
}
|
||||
|
||||
|
||||
void ViewEditor::on_checkVSync_clicked(bool val) {
|
||||
if (!view || !active) return;
|
||||
view->setVSync(val);
|
||||
|
||||
Reference in New Issue
Block a user