Hi all, can someone please show me an example for this question? I have already asked on StackExchange, but unfortunately I was not given an example.
It’s about how I get access to bpy.context when creating the lists for a preset system as seen in the link.
Now I have been able to do something myself to determine which blender version is being used. But this only works when blender starts up.
As written by batFINGER, it is also possible to get context via def poll(cls, context), which is always taken into account, not only when blender starts.
But I just can’t get it to work! I’m afraid I don’t quite understand his answer.
Can someone please give me an example?