1
$\begingroup$

I wrote a simple addon to toggle the Camera Ray visibility of multiple elements, something I'm constantly doing in my workflow.

camera ray visibility

I'd love to be able to modify the Outliner panel to add a new column controlling this attribute like the mock up below, but I was unable to find where the outliner tree is created in the code.

outliner modification

I need something more complex than the current panel I have (Quick Camera Ray), something that would let me know in a glance which meshes are camera visible or not, just like the outliner icons do with viewport/render visibility. Any tips?

$\endgroup$

1 Answer 1

3
$\begingroup$

While there is a small python script that handles the header and menus for the outliner, most of the outliner drawing is handled in C source files. This means that customising the outliner appearance requires a custom build of blender, though you can add menus as shown here.

I would suggest you keep using the panel in the properties editor that you have already started with.

$\endgroup$
1
  • $\begingroup$ That's what I was afraid of. I might add the operators to the outliner to at least make the toggle easily accessible. Thanks for the help! $\endgroup$
    – Rhaenys
    Sep 29, 2017 at 16:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .