Commit f5ce2495 authored by Christopher Tenter's avatar Christopher Tenter
Browse files

automatically enable blending for alpha < 1

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19703 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 85cdbf89
......@@ -469,6 +469,12 @@ void QtMaterialDialog::undoChanges()
void QtMaterialDialog::changeDiffuseColor(QColor _newColor)
{
diffuse_ = convertColor( _newColor );
if (diffuse_[3] < 1.0f)
{
ui_.blending->setCheckState(Qt::Checked);
}
applyChanges();
}
......
Supports Markdown
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