When you right click on a Task in the Loader display, you gain this “Refresh” option at the bottom - Where does the code for this live? I would love to be able to add it to my custom Scene Actions instead of relying on artists clicking two buttons.
I’ve had a closer look into the source code and there seems to be a few instances of refreshes happening. Its been a while since I’ve played with the loader and I believe all the items above the separator are created by a factory method somewhere so searching for their names in the code as a starting point doesn’t yield much.
There’s a few references to a “refresh” action though.
Another Refresh action:
I am seeing a similarity in all of these that they all call a refresh on a model, would need a little trial and error to figure out witch of these is the right one.
Have you taken over this app in your setup? Achieving this will require passing in that model to the Scene actions hook or storing a reference to it somewhere after it’s creation.
Hope this helps get you going in the right direction.