Blender 2.8 - Panel Location

Hi All

I am writing an add-on for Blender 2.8. I am trying to get the panel to display in the render tab of the properties section.

In Blender 2.79, I believe this would have been as simple as:

bl_space_type = ‘PROPERTIES’
bl_region_type = ‘WINDOW’
bl_context = “render”

That doesn’t seem to work in Blender 2.8. I suspect it’s because the render tab now completely changes depending on what render engine you select. I don’t get an error, just no panel.

I suspect I need a different string for bl_context. I’ve tried everything I can think of - “rendercycles, render_cycles etc. etc.”. Nothing seems to work.

Can anyone help?

Cheers

Solved.

Basically I am an idiot, and din’t notice that I had accidentally included a poll() function that was suppressing the panel.

The above bl_context is sufficient to get the panel to display in the render tab.