Skip to content

Detect when " Convolution effects cannot be merged " happens #492

Answered by vanruesc
vis-prime asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the late response! I don't think there's a way to detect this currently. You could try copy&pasting the EffectAttribute check into your app as a workaround:

let attributes: EffectAttribute = EffectAttribute.NONE;

for(const effect of effects) {

	if(attributes & effect.getAttributes() & EffectAttribute.CONVOLUTION) !== 0) {

		// Convolution effect conflict.

	}

	attributes |= effect.getAttributes();

}

I'll add a way to access this information in v7.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vis-prime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants