Commit 27329c95 authored by Marlin Frickenschmidt's avatar Marlin Frickenschmidt

Fixed minor display bug in snapshot

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9964 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 31aed5c4
......@@ -597,8 +597,8 @@ void CoreWidget::slotViewMenuAboutToShow() {
globalMultisamplingAction_->setText(tr("Enable Multisampling"));
}
uint perspectiveCount = 0;
uint orthogonalCount = 0;
int perspectiveCount = 0;
int orthogonalCount = 0;
for ( int i = 0 ; i < PluginFunctions::viewers() ; ++i ) {
if ( examiner_widgets_[ i ]->projectionMode() == glViewer::PERSPECTIVE_PROJECTION )
......
......@@ -60,9 +60,12 @@ SnapshotDialog::SnapshotDialog(QString _suggest, bool _captureViewers, int _w, i
// Disable 'change resolution' button if
// in viewer snapshot mode
multisampling->setChecked(captureViewers_);
resButton->setDisabled(captureViewers_);
keepAspect->setDisabled(!captureViewers_);
transparent->setDisabled(!captureViewers_);
multisampling->setDisabled(!captureViewers_);
num_samples->setDisabled(!captureViewers_);
snapWidth->setValue(_w);
snapHeight->setValue(_h);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment