Hello,
I have got a filter plug-in which uses advanceState to read scanlines from the plugin. However I seem to have crashes related to advanceState. (Using SDK 7)
Q1. Can advanceState be called anytime in filterSelectorStart ? E.g I have got simple scanline reading loops but also loops which process a circular region. I want to call advanceState in several loops.
Q2. Is it required to reset FilterRecord in some way before starting another loop which uses advanceState ?
Thanks in advance.
Dev
advanceState Confusion
advanceState is advancing the state from the previous state so several loops may have problems. I would look at using channel ports suite instead.
Setting the rects to 0,0,0,0 should reset advanceState but that is an 'as is' warranty statement if you know what i mean.
advanceState Confusion
Thanks Tom,
Interestingly I couldn't find what the ''state'' variables are.
I have tried resetting the rects (it is hinted in the doc) but didn't really help.
Are channel ports suite a direct alternative to advanceState or shall it be used in conjunction with advanceState ? I am a bit confused there.
Thanks again.
Dev
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment