CompoundPath - check for this.blendMode != 'normal'.

This commit is contained in:
Jonathan Puckey 2011-02-26 01:02:17 +01:00
parent bebc8bc8cc
commit 8828ed7e25

View file

@ -23,7 +23,7 @@ CompoundPath = PathItem.extend(new function() {
if(!this.visible)
return;
if (this.children.length) {
if(this.blendMode && !param.ignoreBlendMode) {
if(this.blendMode != 'normal' && !param.ignoreBlendMode) {
BlendMode.process(ctx, this, param);
} else {
var firstChild = this.children[0];