Created attachment 153291 [details] Patch to apply to fix bug on plugin SUMMARY From Krita-Artists topic: https://krita-artists.org/t/node-management-through-api-chaged-between-krita-5-0-6-and-krita-5-1-0/50279?u=grum999 With Krita 5.1.0, node manipulation through API is not working like before (5.0.6) Then default python plugin "Channel to Layers" provided with Krita is not working anymore. Dmitri recommended to fix plugin instead of trying to fix node management (working with nodes not attached to document layer stack is not considered as a "normal" case even if it could work) Attached patch can be used to fix bug.