RMB by added item in the tree doesn’t work (I expected some context menu with “Remove” or smth like this).
Click by added item in the tree and press Delete key on keyboard affects the scene — it looks like rendering pipeline are gone, but the Rendering Pipeline item still in the tree.
Is something of these is bug?
What is proper way to remove rendering pipeline?
Looks like this is a bug, the pipeline still exists in the scene: Babylon.js Playground (babylonjs.com) (you can try doing the same steps and you’ll see the console still logs 1 supported pipeline)
The ideal way to dispose a pipeline is the dispose method, we definitely need to call it in the inspector.
Ok, coming back from more investigation, found out that inspector DOES call dispose, the problem is even after dispose the pipeline is still in the postProcessManager, which is also why it’s still on the inspector too. I’ll fix that.
(And yeah, there isn’t a button to dispose of the pipeline, but after I do this fix DEL should work fine)
I believe it would still deserve a dispose button. A matter of UX. I would still add it to the list of possible improvements in the v7 feature request (tbD). Of course, my opinion only.