minor interactive documentation tweak

metadata
Wenzel Jakob 2012-10-22 00:10:09 -04:00
parent 6137c21db5
commit 83f0109f84
2 changed files with 5 additions and 1 deletions

View File

@ -152,7 +152,11 @@ void RenderSettingsDialog::setDocumentation(const QString &text) {
ui->groupBox->setTitle(tr("Documentation")); ui->groupBox->setTitle(tr("Documentation"));
} }
#if defined(__OSX__)
ui->helpViewer->setHtml(comments + "<div style='font-size:12pt'>" + m_currentDocumentation + "</div>");
#else
ui->helpViewer->setHtml(comments + "<div style='font-size:10pt'>" + m_currentDocumentation + "</div>"); ui->helpViewer->setHtml(comments + "<div style='font-size:10pt'>" + m_currentDocumentation + "</div>");
#endif
ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(!hasErrors); ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(!hasErrors);
} }

View File

@ -473,7 +473,7 @@
This improves the effectiveness of bidirectional path tracing This improves the effectiveness of bidirectional path tracing
but severely increases the local and remote communication but severely increases the local and remote communication
overhead, since large <em>light images</em> must be transferred between threads overhead, since large <em>light images</em> must be transferred between threads
or over the network. See the text below for a more detailed explanation. or over the network. See the main documentation for a more detailed explanation.
</param> </param>
<param name="sampleDirect" readableName="Use direct sampling methods" type="boolean" default="true"> <param name="sampleDirect" readableName="Use direct sampling methods" type="boolean" default="true">
Enable direct sampling strategies? This is a generalization of direct illumination sampling that works with both emitters Enable direct sampling strategies? This is a generalization of direct illumination sampling that works with both emitters