How to determine if filter was called from smart filters?
I am making a noise reduction plugin and want it to call my image profiling function when the image is loaded, except when it is loaded from a smart filter (because the image would have already been profiled). Is it possible to figure out if the filter is being called from smart filters?
I tried writing a value that is different between the registry and scripting. If the plugin is called from the filters menu, then scripting and the registry will return the same values. They return different values if the filter is being applied to a virgin smart filter, or if (this is what I want to track) it is being called from an existing smart filter.
Is this possible?
I see that the other NR plugins aren't doing this so maybe it is not.
-Glenn Chan