I applied the following filters:
And I get these results:
Why aren’t the StaticMeshActors getting filtered? I’ve tried every other setting I could find in the Outliner but I can’t get them to filter out. This makes it difficult to select all my lights in the scene and change their light-specific properties at once, which is what I’m attempting to do to fix some unrelated lighting issues in my project.
Hey there @yourboypavs! It seems as though the lights themselves are children of the static mesh. This forces the filter to show the parent for context of which lights are which. I would instead recommend using the Light Mixer
available from the Window
menu. This will help you be able to select only lights, as well as edit their properties efficiently. Hope this helps!
Hi @SupportiveEntity, you’re right that I’ve made each light a child of these static meshes. Grouping them under a parent actor makes it far easier to keep track of and transform complex groups of similar actors (e.g., a lamp and hook that I put on various walls).
Light Mixer
still has the same issue. The only added option I found for filtering was hiding folders, which is helpful, but still frustratingly doesn’t seem to allow me to easily select and modify only the lights in my scene due to the StaticMeshActor
s getting in the way.
(On a positive note: I’ve never seen Light Mixer
before and it seems like a great tool, so thank you for bringing it to my attention)
Ahhh apologies, I must have misremembered this working differently previously. I’m uncertain how to get the outliner to filter them naturally, but I wrote you a quick script to select all lights in a level without any chaff, but it will take setting up a quick utility. If you’ve never made an Editor Utility Widget, I’ll walk through the whole process here but if you have you can probably skip to the bottom for the Blueprint.
First you have to verify you have the Editor Scripting Utilities
plugin installed. Most starter projects come with it installed already.
Then create a new Editor Utility Widget in your content browser with a grid panel base:
After that, open it up, drag in a button and then some text inside it:
Then open the graph window on the top right:
Then grab the OnClicked
even from the button, then recreate this BP:
All this does is force the editor to select only objects of class Light
in the entire outliner. Then you can hit Run Utility Widget
at the top, dock it wherever you want and just hit that button when you wanna grab them all.
Let me know if you have any questions!
1 Like
That works perfectly, thank you so much!!