[FIXED] Removing filters

Hi,

I’ve just started playing around with filters. I was wondering, is it possible to remove fill.effects once they’ve been applied?

Thanks,

Have you tried:

object.fill = nil

I think so, maybe I tried object.fill.effect=nil instead. I got a “string expected” error, when I did one of them. I’ll double check later which one it was. 

This should have been more obvious.  I sat down tonight to see what the answer is:  <drum roll please>

object.fill.effect = “”

One interesting thing I stumbled across is that you can indeed set object.fill = nil, and for polygons, it works.

Thanks guys, that clears things up

It should be noted that Engineering said this might change going forward.  They are discussing about using nil instead of the empty string.

Rob

Yes, this is an oversight. You should be able to remove any effects via ‘nil’.

This should be fixed in the latest G2.0 daily

Have you tried:

object.fill = nil

I think so, maybe I tried object.fill.effect=nil instead. I got a “string expected” error, when I did one of them. I’ll double check later which one it was. 

This should have been more obvious.  I sat down tonight to see what the answer is:  <drum roll please>

object.fill.effect = “”

One interesting thing I stumbled across is that you can indeed set object.fill = nil, and for polygons, it works.

Thanks guys, that clears things up

It should be noted that Engineering said this might change going forward.  They are discussing about using nil instead of the empty string.

Rob

Yes, this is an oversight. You should be able to remove any effects via ‘nil’.

This should be fixed in the latest G2.0 daily