Evil_C is really evil?

I see in the code Evil_C being used quite frequently with the cute cryptic comment ( /* XXX */) . It seems to refer to context of execution but what is so evil about it ? Why it exists ?

The context C specifies the editor that is currently being drawn, which data an operator works on, etc. There are a few places that use C as a global variable, which doesn’t really make sense as it is supposed to specify the local context, so those were marked as evil_C to be cleaned up at some point.

1 Like