MADRIX Forum • reset filter
Page 1 of 1

reset filter

Posted: Mon Dec 01, 2014 12:49 am
by cg
I'd like to have a storage place macro reset the main output color filter.

I tried SetFilter(FILTER_NONE); or Filter(FILTER_NONE); in PostRenderEffect but it seems to not do anything.

Is that possible at all?

Re: reset filter

Posted: Mon Dec 01, 2014 10:00 am
by Wissmann
Yes, from a storage place macro you have no access to the mainout filter. There is general no access to the controls from the mainout section except from the mainout macro themself.

Re: reset filter

Posted: Tue Dec 02, 2014 11:36 am
by cg
alright...

What if I create a main otput macro that checks if the active storage place is my "reset button" (assumingly A1) and only then resets the filter? Would that be possible and would that cause performance issues?

Re: reset filter

Posted: Tue Dec 02, 2014 12:00 pm
by Wissmann
Yes with GetStoragePlace you can ask which place is the current on the storage and no there is no performance issue if you set the filter only if the storage place changes.

Re: reset filter

Posted: Thu Dec 04, 2014 11:27 pm
by cg
Seems like it is better to also check if the filter is already "white", otherwise the filter button is flickering from being set to white continously.

Re: reset filter

Posted: Fri Dec 05, 2014 9:24 am
by Wissmann
exactly, i see you got it ;-)