Fix opacity value for custom brushes

This commit is contained in:
David Capello 2015-08-13 15:41:37 -03:00
parent 4984a48918
commit 782aa72faf

View File

@ -136,8 +136,10 @@ public:
}
// Ignore opacity for these inks
if (!tools::inkHasOpacity(m_toolPref.ink()))
if (!tools::inkHasOpacity(m_toolPref.ink()) &&
m_brush->type() != kImageBrushType) {
m_opacity = 255;
}
}
// IToolLoop interface